github.com/giantswarm/apiextensions/v2@v2.6.2/helm/apiextensions-app-e2e-chart/templates/app.yaml (about) 1 {{- range .Values.apps }} 2 apiVersion: "application.giantswarm.io/v1alpha1" 3 kind: App 4 metadata: 5 name: "{{ .name }}" 6 namespace: "{{ .namespace }}" 7 labels: 8 app: "{{ .name }}" 9 app-operator.giantswarm.io/version: "{{ $.Values.appOperator.version }}" 10 spec: 11 catalog: "{{ .catalog }}" 12 name: "{{ .name }}" 13 namespace: "{{ .namespace }}" 14 {{- if .kubeConfig}} 15 kubeConfig: 16 inCluster: {{ .kubeConfig.inCluster }} 17 {{- if not .kubeConfig.inCluster }} 18 secret: 19 name: "{{ .kubeConfig.secret.name }}" 20 namespace: "{{ .kubeConfig.secret.namespace }}" 21 {{- end }} 22 {{- end }} 23 {{- if .config}} 24 config: 25 {{- if .config.configMap }} 26 configMap: 27 name: "{{ .config.configMap.name }}" 28 namespace: "{{ .config.configMap.namespace }}" 29 {{- end }} 30 {{- if .config.secret }} 31 secret: 32 name: "{{ .config.secret.name }}" 33 namespace: "{{ .config.secret.namespace }}" 34 {{- end }} 35 {{- end }} 36 version: "{{ .version }}" 37 --- 38 {{- end }}