github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/security/templates/configmap.yaml (about) 1 apiVersion: v1 2 kind: ConfigMap 3 metadata: 4 name: istio-security-custom-resources 5 namespace: {{ .Release.Namespace }} 6 labels: 7 app: istio-security 8 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} 9 release: {{ .Release.Name }} 10 heritage: {{ .Release.Service }} 11 istio: security 12 data: 13 custom-resources.yaml: |- 14 {{- if .Values.global.mtls.enabled }} 15 {{- include "security-default.yaml.tpl" . | indent 4}} 16 {{- else }} 17 {{- include "security-permissive.yaml.tpl" . | indent 4}} 18 {{- end }} 19 run.sh: |- 20 {{- include "install-custom-resources.sh.tpl" . | indent 4}}