fix: allow scope/tcp/udp configmap namespace to altered (#7161)
This commit is contained in:
parent
62f9dc9516
commit
ea0f02524b
3 changed files with 10 additions and 10 deletions
|
@ -81,12 +81,12 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- --election-id={{ .Values.controller.electionID }}
|
- --election-id={{ .Values.controller.electionID }}
|
||||||
- --ingress-class={{ .Values.controller.ingressClass }}
|
- --ingress-class={{ .Values.controller.ingressClass }}
|
||||||
- --configmap=$(POD_NAMESPACE)/{{ include "ingress-nginx.controller.fullname" . }}
|
- --configmap={{ default "$(POD_NAMESPACE)" .Values.controller.configMapNamespace }}/{{ include "ingress-nginx.controller.fullname" . }}
|
||||||
{{- if .Values.tcp }}
|
{{- if .Values.tcp }}
|
||||||
- --tcp-services-configmap=$(POD_NAMESPACE)/{{ include "ingress-nginx.fullname" . }}-tcp
|
- --tcp-services-configmap={{ default "$(POD_NAMESPACE)" .Values.controller.tcp.configMapNamespace }}/{{ include "ingress-nginx.fullname" . }}-tcp
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.udp }}
|
{{- if .Values.udp }}
|
||||||
- --udp-services-configmap=$(POD_NAMESPACE)/{{ include "ingress-nginx.fullname" . }}-udp
|
- --udp-services-configmap={{ default "$(POD_NAMESPACE)" .Values.controller.udp.configMapNamespace }}/{{ include "ingress-nginx.fullname" . }}-udp
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.scope.enabled }}
|
{{- if .Values.controller.scope.enabled }}
|
||||||
- --watch-namespace={{ default "$(POD_NAMESPACE)" .Values.controller.scope.namespace }}
|
- --watch-namespace={{ default "$(POD_NAMESPACE)" .Values.controller.scope.namespace }}
|
||||||
|
|
|
@ -85,12 +85,12 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- --election-id={{ .Values.controller.electionID }}
|
- --election-id={{ .Values.controller.electionID }}
|
||||||
- --ingress-class={{ .Values.controller.ingressClass }}
|
- --ingress-class={{ .Values.controller.ingressClass }}
|
||||||
- --configmap=$(POD_NAMESPACE)/{{ include "ingress-nginx.controller.fullname" . }}
|
- --configmap={{ default "$(POD_NAMESPACE)" .Values.controller.configMapNamespace }}/{{ include "ingress-nginx.controller.fullname" . }}
|
||||||
{{- if .Values.tcp }}
|
{{- if .Values.tcp }}
|
||||||
- --tcp-services-configmap=$(POD_NAMESPACE)/{{ include "ingress-nginx.fullname" . }}-tcp
|
- --tcp-services-configmap={{ default "$(POD_NAMESPACE)" .Values.controller.tcp.configMapNamespace }}/{{ include "ingress-nginx.fullname" . }}-tcp
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.udp }}
|
{{- if .Values.udp }}
|
||||||
- --udp-services-configmap=$(POD_NAMESPACE)/{{ include "ingress-nginx.fullname" . }}-udp
|
- --udp-services-configmap={{ default "$(POD_NAMESPACE)" .Values.controller.udp.configMapNamespace }}/{{ include "ingress-nginx.fullname" . }}-udp
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.scope.enabled }}
|
{{- if .Values.controller.scope.enabled }}
|
||||||
- --watch-namespace={{ default "$(POD_NAMESPACE)" .Values.controller.scope.namespace }}
|
- --watch-namespace={{ default "$(POD_NAMESPACE)" .Values.controller.scope.namespace }}
|
||||||
|
|
|
@ -121,23 +121,23 @@ controller:
|
||||||
##
|
##
|
||||||
scope:
|
scope:
|
||||||
enabled: false
|
enabled: false
|
||||||
namespace: "" # defaults to .Release.Namespace
|
namespace: "" # defaults to $(POD_NAMESPACE)
|
||||||
|
|
||||||
## Allows customization of the configmap / nginx-configmap namespace
|
## Allows customization of the configmap / nginx-configmap namespace
|
||||||
##
|
##
|
||||||
configMapNamespace: "" # defaults to .Release.Namespace
|
configMapNamespace: "" # defaults to $(POD_NAMESPACE)
|
||||||
|
|
||||||
## Allows customization of the tcp-services-configmap
|
## Allows customization of the tcp-services-configmap
|
||||||
##
|
##
|
||||||
tcp:
|
tcp:
|
||||||
configMapNamespace: "" # defaults to .Release.Namespace
|
configMapNamespace: "" # defaults to $(POD_NAMESPACE)
|
||||||
## Annotations to be added to the tcp config configmap
|
## Annotations to be added to the tcp config configmap
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
## Allows customization of the udp-services-configmap
|
## Allows customization of the udp-services-configmap
|
||||||
##
|
##
|
||||||
udp:
|
udp:
|
||||||
configMapNamespace: "" # defaults to .Release.Namespace
|
configMapNamespace: "" # defaults to $(POD_NAMESPACE)
|
||||||
## Annotations to be added to the udp config configmap
|
## Annotations to be added to the udp config configmap
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue