blob: 0f6088ea904bac68e796c33c7a3b535de349c931 [file] [log] [blame]
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +04001{{- if .Values.tcp -}}
2apiVersion: v1
3kind: ConfigMap
4metadata:
5 labels:
6 {{- include "ingress-nginx.labels" . | nindent 4 }}
7 app.kubernetes.io/component: controller
8 {{- with .Values.controller.labels }}
9 {{- toYaml . | nindent 4 }}
10 {{- end }}
11{{- 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 }}