From 3bbf3ce07bfd405dfba3f32e93cbb32bfb639ae1 Mon Sep 17 00:00:00 2001 From: Helene Durand Date: Mon, 6 May 2024 11:02:31 +0200 Subject: [PATCH] Update flag k8s-api-sync-type with new values (normal, k8s, proxy) Old possible values were: normal, fetch_from_k8s_api, fetch_from_proxy New possible values are: normal, k8s, proxy --- kubernetes-ingress/templates/controller-deployment.yaml | 4 ++-- kubernetes-ingress/templates/controller-proxy-deployment.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kubernetes-ingress/templates/controller-deployment.yaml b/kubernetes-ingress/templates/controller-deployment.yaml index ddc3c61..a0c4a4d 100644 --- a/kubernetes-ingress/templates/controller-deployment.yaml +++ b/kubernetes-ingress/templates/controller-deployment.yaml @@ -125,9 +125,9 @@ spec: - --proxy-k8s-fetch-period={{ .Values.controller.sync.fetchParams.period }} {{- end }} {{- if eq .Values.controller.sync.fetchParams.source "k8s" }} - - --k8s-api-sync-type=fetch_from_k8s_api + - --k8s-api-sync-type=k8s {{- else if eq .Values.controller.sync.fetchParams.source "proxy" }} - - --k8s-api-sync-type=fetch_from_proxy + - --k8s-api-sync-type=proxy - --proxy-svc-label-selector={{ .Values.controller.sync.proxyParams.proxySvcLabelSelector }} {{- end }} {{- end }} diff --git a/kubernetes-ingress/templates/controller-proxy-deployment.yaml b/kubernetes-ingress/templates/controller-proxy-deployment.yaml index 9d95500..0c0f4b1 100644 --- a/kubernetes-ingress/templates/controller-proxy-deployment.yaml +++ b/kubernetes-ingress/templates/controller-proxy-deployment.yaml @@ -121,7 +121,7 @@ spec: - --prometheus {{- end }} - --proxy-server-mode - - --k8s-api-sync-type=fetch_from_k8s_api + - --k8s-api-sync-type=k8s - --proxy-svc-label-selector={{ .Values.controller.sync.proxyParams.proxySvcLabelSelector }} {{- if .Values.controller.sync.fetchParams.period }} - --proxy-k8s-fetch-period={{ .Values.controller.sync.fetchParams.period }}