github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/ingress-nginx/templates/controller-configmap-udp.yaml (about)

     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      {{- 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 }}
    16  data: {{ tpl (toYaml .Values.udp) . | nindent 2 }}
    17  {{- end }}