blob: 3772ec51430cf2340344ce29ec3dd7a7fb604dbc [file] [log] [blame]
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +04001{{- if .Values.udp -}}
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.udp.annotations }}
12 annotations: {{ toYaml .Values.controller.udp.annotations | nindent 4 }}
13{{- end }}
14 name: {{ include "ingress-nginx.fullname" . }}-udp
15 namespace: {{ .Release.Namespace }}
16data: {{ tpl (toYaml .Values.udp) . | nindent 2 }}
17{{- end }}