blob: 0f6088ea904bac68e796c33c7a3b535de349c931 [file] [log] [blame]
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +04001{{- if .Values.tcp -}}
2apiVersion: v1
3kind: ConfigMap
4metadata:
5 labels:
6 {{- include "ingress-nginx.labels" . | nindent 4 }}
7 app.kubernetes.io/component: controller
Giorgi Lekveishvilicccf72f2023-05-19 16:13:22 +04008 {{- with .Values.controller.labels }}
9 {{- toYaml . | nindent 4 }}
10 {{- end }}
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040011{{- if .Values.controller.tcp.annotations }}
12 annotations: {{ toYaml .Values.controller.tcp.annotations | nindent 4 }}
13{{- end }}
14 name: {{ include "ingress-nginx.fullname" . }}-tcp
15 namespace: {{ .Release.Namespace }}
16data: {{ tpl (toYaml .Values.tcp) . | nindent 2 }}
17{{- end }}