Skip to content

Commit

Permalink
Update flag k8s-api-sync-type with new values (normal, k8s, proxy)
Browse files Browse the repository at this point in the history
Old possible values were: normal, fetch_from_k8s_api, fetch_from_proxy
New possible values are: normal, k8s, proxy
  • Loading branch information
hdurand0710 committed May 6, 2024
1 parent e37601e commit 3bbf3ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kubernetes-ingress/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 3bbf3ce

Please sign in to comment.