controller-configmap-udp.yaml 547 B

1234567891011121314151617
  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 }}