forked from LaconicNetwork/kompose
fix: support host port and protocol in functional tests (#1586)
This commit is contained in:
@@ -73,6 +73,8 @@ spec:
|
||||
name: db
|
||||
ports:
|
||||
- containerPort: 3306
|
||||
hostPort: 3306
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/mysql
|
||||
@@ -146,6 +148,8 @@ spec:
|
||||
name: wordpress
|
||||
ports:
|
||||
- containerPort: 80
|
||||
hostPort: 8000
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/html
|
||||
|
||||
@@ -69,6 +69,8 @@ spec:
|
||||
name: db
|
||||
ports:
|
||||
- containerPort: 3306
|
||||
hostPort: 3306
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/mysql
|
||||
@@ -127,6 +129,8 @@ spec:
|
||||
name: db
|
||||
ports:
|
||||
- containerPort: 3306
|
||||
hostPort: 3306
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/mysql
|
||||
@@ -210,6 +214,8 @@ spec:
|
||||
name: wordpress
|
||||
ports:
|
||||
- containerPort: 80
|
||||
hostPort: 8000
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/html
|
||||
@@ -268,6 +274,8 @@ spec:
|
||||
name: wordpress
|
||||
ports:
|
||||
- containerPort: 80
|
||||
hostPort: 8000
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/html
|
||||
|
||||
Reference in New Issue
Block a user