Removed useless volumes from api-gateway deploy

This commit is contained in:
PB
2025-10-20 14:30:17 +02:00
parent 87e0c1ad1d
commit 832d59cedc

View File

@@ -6,9 +6,12 @@ metadata:
spec:
type: NodePort
ports:
- name: https
- name: api-gateway-https
port: 8443
nodePort: 31800
- name: api-gateway-stats
port: 1024
nodePort: 31899
selector:
app: api-gateway
---
@@ -36,7 +39,7 @@ spec:
tls:
- secretName: api-gateway-cert
hosts:
- "egommerce.io" # FIXME use domain name here eg. egommerce.io
- egommerce.io
rules:
- host: egommerce.io
http:
@@ -118,13 +121,4 @@ spec:
# runAsNonRoot: true
# allowPrivilegeEscalation: false
# seccompProfile:
# 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
# type: RuntimeDefault