From 01161924aabd8108f3736888756d61db98e9554d Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Tue, 3 Oct 2023 00:39:16 +0200 Subject: [PATCH] refactor(cherry/ingress-nginx): enable proxyprotocol and use service type nodeport --- clusters/cherry/apps/ingress-nginx.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clusters/cherry/apps/ingress-nginx.yaml b/clusters/cherry/apps/ingress-nginx.yaml index 560333b..2a9fce1 100644 --- a/clusters/cherry/apps/ingress-nginx.yaml +++ b/clusters/cherry/apps/ingress-nginx.yaml @@ -23,7 +23,6 @@ spec: valuesObject: ingressClassResource: default: true - # TODO: enable proxy protocol controller: kind: DaemonSet updateStrategy: @@ -31,10 +30,11 @@ spec: rollingUpdate: maxUnavailable: 1 service: - # TODO: use Service .spec.type: NodePort - type: ClusterIP - hostPort: - enabled: true + type: NodePort + nodePorts: + http: 32080 + https: 32443 config: allow-snippet-annotations: "true" generate-request-id: "true" + use-proxy-protocol: "true"