stable/appmesh-inject/templates/mesh.yaml (14 lines of code) (raw):
{{- if .Values.mesh.create }}
apiVersion: appmesh.k8s.aws/v1beta1
kind: Mesh
metadata:
name: {{ .Values.mesh.name }}
annotations:
helm.sh/resource-policy: keep
labels:
{{ include "appmesh-inject.labels" . | indent 4 }}
spec:
serviceDiscoveryType: {{ .Values.mesh.discovery }}
egressFilter:
type: {{ .Values.mesh.egressFilter }}
{{- end }}