ingress-nginx-helm/charts/ingress-nginx/templates/tcp-configmap.yaml

14 lines
387 B
YAML
Raw Normal View History

2020-02-24 19:25:57 +00:00
{{- if .Values.tcp }}
apiVersion: v1
kind: ConfigMap
metadata:
labels:
{{- include "nginx-ingress.labels" . | nindent 4 }}
app.kubernetes.io/component: {{ .Values.controller.name | quote }}
annotations:
{{ toYaml .Values.controller.tcp.annotations | indent 4}}
name: {{ include "nginx-ingress.fullname" . }}-tcp
2020-02-24 19:25:57 +00:00
data:
{{ tpl (toYaml .Values.tcp) . | indent 2 }}
{{- end }}