Removed useless volumes from api-gateway deploy
This commit is contained in:
@@ -6,9 +6,12 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- name: https
|
- name: api-gateway-https
|
||||||
port: 8443
|
port: 8443
|
||||||
nodePort: 31800
|
nodePort: 31800
|
||||||
|
- name: api-gateway-stats
|
||||||
|
port: 1024
|
||||||
|
nodePort: 31899
|
||||||
selector:
|
selector:
|
||||||
app: api-gateway
|
app: api-gateway
|
||||||
---
|
---
|
||||||
@@ -36,7 +39,7 @@ spec:
|
|||||||
tls:
|
tls:
|
||||||
- secretName: api-gateway-cert
|
- secretName: api-gateway-cert
|
||||||
hosts:
|
hosts:
|
||||||
- "egommerce.io" # FIXME use domain name here eg. egommerce.io
|
- egommerce.io
|
||||||
rules:
|
rules:
|
||||||
- host: egommerce.io
|
- host: egommerce.io
|
||||||
http:
|
http:
|
||||||
@@ -118,13 +121,4 @@ spec:
|
|||||||
# runAsNonRoot: true
|
# runAsNonRoot: true
|
||||||
# allowPrivilegeEscalation: false
|
# allowPrivilegeEscalation: false
|
||||||
# seccompProfile:
|
# seccompProfile:
|
||||||
# type: RuntimeDefault
|
# type: RuntimeDefault
|
||||||
volumeMounts:
|
|
||||||
- name: root-ca
|
|
||||||
mountPath: /etc/certs/root-ca.pem
|
|
||||||
readOnly: true
|
|
||||||
volumes:
|
|
||||||
- name: root-ca
|
|
||||||
hostPath:
|
|
||||||
path: /egommerce/stack/deploy/certs/ca-root/ca-root.pem
|
|
||||||
type: File
|
|
||||||
Reference in New Issue
Block a user