| Giorgi Lekveishvili | 725bb39 | 2023-05-05 18:24:27 +0400 | [diff] [blame] | 1 | {{- if .Values.udp -}} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
| 5 | labels: |
| 6 | {{- include "ingress-nginx.labels" . | nindent 4 }} |
| 7 | app.kubernetes.io/component: controller |
| 8 | {{- if .Values.controller.udp.annotations }} |
| 9 | annotations: {{ toYaml .Values.controller.udp.annotations | nindent 4 }} |
| 10 | {{- end }} |
| 11 | name: {{ include "ingress-nginx.fullname" . }}-udp |
| 12 | namespace: {{ .Release.Namespace }} |
| 13 | data: {{ tpl (toYaml .Values.udp) . | nindent 2 }} |
| 14 | {{- end }} |