fix: expose container to host only with labels (#1880)

Signed-off-by: ahmed.g <ahmed.g@adjoe.io>
Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
This commit is contained in:
TessaIO
2024-05-29 16:05:04 -04:00
committed by GitHub
parent 29f6765fc6
commit 3bf98301f7
52 changed files with 19 additions and 163 deletions
-2
View File
@@ -67,7 +67,6 @@ spec:
name: db
ports:
- containerPort: 3306
hostPort: 3306
protocol: TCP
volumeMounts:
- mountPath: /var/lib/mysql
@@ -118,7 +117,6 @@ spec:
name: wordpress
ports:
- containerPort: 80
hostPort: 8000
protocol: TCP
volumeMounts:
- mountPath: /var/www/html
-4
View File
@@ -63,7 +63,6 @@ spec:
name: db
ports:
- containerPort: 3306
hostPort: 3306
protocol: TCP
volumeMounts:
- mountPath: /var/lib/mysql
@@ -114,7 +113,6 @@ spec:
name: db
ports:
- containerPort: 3306
hostPort: 3306
protocol: TCP
volumeMounts:
- mountPath: /var/lib/mysql
@@ -185,7 +183,6 @@ spec:
name: wordpress
ports:
- containerPort: 80
hostPort: 8000
protocol: TCP
volumeMounts:
- mountPath: /var/www/html
@@ -236,7 +233,6 @@ spec:
name: wordpress
ports:
- containerPort: 80
hostPort: 8000
protocol: TCP
volumeMounts:
- mountPath: /var/www/html