ingress-nginx-helm/charts/ingress-nginx/templates/controller-configmap-tcp.yaml

18 lines
564 B
YAML
Raw Normal View History

2020-03-02 14:49:26 +00:00
{{- if .Values.tcp -}}
2020-02-24 19:25:57 +00:00
apiVersion: v1
kind: ConfigMap
metadata:
labels:
{{- include "ingress-nginx.labels" . | nindent 4 }}
app.kubernetes.io/component: controller
{{- with .Values.controller.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
2020-03-02 14:49:26 +00:00
{{- if .Values.controller.tcp.annotations }}
annotations: {{ toYaml .Values.controller.tcp.annotations | nindent 4 }}
{{- end }}
name: {{ include "ingress-nginx.fullname" . }}-tcp
namespace: {{ include "ingress-nginx.namespace" . }}
2020-03-02 14:49:26 +00:00
data: {{ tpl (toYaml .Values.tcp) . | nindent 2 }}
2020-02-24 19:25:57 +00:00
{{- end }}