diff --git a/deploy/k8s/api-gateway.yml b/deploy/k8s/api-gateway.yml index d75b9f5..4ad2f87 100644 --- a/deploy/k8s/api-gateway.yml +++ b/deploy/k8s/api-gateway.yml @@ -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 \ No newline at end of file + # type: RuntimeDefault \ No newline at end of file