ingress-nginx-helm/charts/ingress-nginx/templates/tcp-configmap.yaml
Greg Sidelinger 5f118ca2c8 Adding annotations support to configmaps
Signed-off-by: Greg Sidelinger <gate@ilive4code.net>
2020-02-26 10:53:20 -05:00

16 lines
475 B
YAML

{{- if .Values.tcp }}
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app: {{ template "nginx-ingress.name" . }}
chart: {{ template "nginx-ingress.chart" . }}
component: "{{ .Values.controller.name }}"
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
annotations:
{{ toYaml .Values.controller.tcp.annotations | indent 4}}
name: {{ template "nginx-ingress.fullname" . }}-tcp
data:
{{ tpl (toYaml .Values.tcp) . | indent 2 }}
{{- end }}