kubernetes-handbook/manifests/nginx-ingress/templates/tcp-configmap.yaml

15 lines
366 B
YAML
Raw Normal View History

2017-10-27 19:09:01 +08:00
{{- if .Values.tcp }}
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app: {{ template "name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
component: "{{ .Values.controller.name }}"
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
name: {{ template "fullname" . }}-tcp
data:
{{ toYaml .Values.tcp | indent 2 }}
{{- end }}