Add configmap for xds (#18264)

Signed-off-by: Shunki Fujiwara <shunki-fujiwara@freee.co.jp>
This commit is contained in:
renjikari
2019-10-23 20:55:06 -07:00
committed by Kubernetes Prow Robot
parent baa2f7f74f
commit eac3da8794
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Envoy is an open source edge and service proxy, designed for cloud-native applications.
name: envoy
version: 1.8.0
version: 1.8.1
appVersion: 1.11.2
keywords:
- envoy
+15
View File
@@ -0,0 +1,15 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "envoy.fullname" . }}-xds
labels:
app: {{ template "envoy.name" . }}
chart: {{ template "envoy.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
{{- range $filename, $content := .Values.xds }}
{{ tpl $filename $ }}: |-
{{ $valueWithDefault := default "" $content -}}
{{ tpl $valueWithDefault $ | indent 4 }}
{{- end -}}