Adding annotations support to configmaps
Signed-off-by: Greg Sidelinger <gate@ilive4code.net>
This commit is contained in:
parent
2ca93f7f67
commit
5f118ca2c8
4 changed files with 16 additions and 2 deletions
|
@ -8,6 +8,8 @@ metadata:
|
||||||
component: "{{ .Values.controller.name }}"
|
component: "{{ .Values.controller.name }}"
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml .Values.controller.configAnnotations | indent 4}}
|
||||||
name: {{ template "nginx-ingress.controller.fullname" . }}
|
name: {{ template "nginx-ingress.controller.fullname" . }}
|
||||||
data:
|
data:
|
||||||
{{- if .Values.controller.addHeaders }}
|
{{- if .Values.controller.addHeaders }}
|
||||||
|
|
|
@ -8,6 +8,8 @@ metadata:
|
||||||
component: "{{ .Values.controller.name }}"
|
component: "{{ .Values.controller.name }}"
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml .Values.controller.tcp.annotations | indent 4}}
|
||||||
name: {{ template "nginx-ingress.fullname" . }}-tcp
|
name: {{ template "nginx-ingress.fullname" . }}-tcp
|
||||||
data:
|
data:
|
||||||
{{ tpl (toYaml .Values.tcp) . | indent 2 }}
|
{{ tpl (toYaml .Values.tcp) . | indent 2 }}
|
||||||
|
|
|
@ -8,6 +8,8 @@ metadata:
|
||||||
component: "{{ .Values.controller.name }}"
|
component: "{{ .Values.controller.name }}"
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml .Values.controller.udp.annotations | indent 4}}
|
||||||
name: {{ template "nginx-ingress.fullname" . }}-udp
|
name: {{ template "nginx-ingress.fullname" . }}-udp
|
||||||
data:
|
data:
|
||||||
{{ tpl (toYaml .Values.udp) . | indent 2 }}
|
{{ tpl (toYaml .Values.udp) . | indent 2 }}
|
||||||
|
|
|
@ -19,6 +19,10 @@ controller:
|
||||||
# Will add custom configuration options to Nginx https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/
|
# Will add custom configuration options to Nginx https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/
|
||||||
config: {}
|
config: {}
|
||||||
|
|
||||||
|
## Annotations to be added to the controller config configuration configmap
|
||||||
|
##
|
||||||
|
configAnnotations: {}
|
||||||
|
|
||||||
# Will add custom headers before sending traffic to backends according to https://github.com/kubernetes/ingress-nginx/tree/master/docs/examples/customization/custom-headers
|
# Will add custom headers before sending traffic to backends according to https://github.com/kubernetes/ingress-nginx/tree/master/docs/examples/customization/custom-headers
|
||||||
proxySetHeaders: {}
|
proxySetHeaders: {}
|
||||||
|
|
||||||
|
@ -92,15 +96,19 @@ controller:
|
||||||
##
|
##
|
||||||
configMapNamespace: "" # defaults to .Release.Namespace
|
configMapNamespace: "" # defaults to .Release.Namespace
|
||||||
|
|
||||||
## Allows customization of the tcp-services-configmap namespace
|
## Allows customization of the tcp-services-configmap
|
||||||
##
|
##
|
||||||
tcp:
|
tcp:
|
||||||
configMapNamespace: "" # defaults to .Release.Namespace
|
configMapNamespace: "" # defaults to .Release.Namespace
|
||||||
|
## Annotations to be added to the tcp config configmap
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
## Allows customization of the udp-services-configmap namespace
|
## Allows customization of the udp-services-configmap
|
||||||
##
|
##
|
||||||
udp:
|
udp:
|
||||||
configMapNamespace: "" # defaults to .Release.Namespace
|
configMapNamespace: "" # defaults to .Release.Namespace
|
||||||
|
## Annotations to be added to the udp config configmap
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
## Additional command line arguments to pass to nginx-ingress-controller
|
## Additional command line arguments to pass to nginx-ingress-controller
|
||||||
## E.g. to specify the default SSL certificate you can use
|
## E.g. to specify the default SSL certificate you can use
|
||||||
|
|
Loading…
Reference in a new issue