Skip to content

Commit

Permalink
fixed the templates (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
rockspore authored Feb 19, 2021
1 parent 40729f9 commit 1191378
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/samples/templates/istio-1.7/apigee-envoy-adapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ spec:
name: apigee-remote-service-envoy
readOnly: true
{{- if .IsGCPManaged}}
{{- if .AnalyticsSecret}}
- mountPath: /analytics-secret
name: analytics-secret
readOnly: true
{{- end}}
- mountPath: /policy-secret
name: policy-secret
readOnly: true
Expand All @@ -73,10 +75,12 @@ spec:
configMap:
name: apigee-remote-service-envoy
{{- if .IsGCPManaged}}
{{- if .AnalyticsSecret}}
- name: analytics-secret
secret:
defaultMode: 420
secretName: {{.Org}}-{{.Env}}-analytics-secret
{{- end}}
- name: policy-secret
secret:
defaultMode: 420
Expand Down
4 changes: 4 additions & 0 deletions cmd/samples/templates/istio-1.9/apigee-envoy-adapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ spec:
name: apigee-remote-service-envoy
readOnly: true
{{- if .IsGCPManaged}}
{{- if .AnalyticsSecret}}
- mountPath: /analytics-secret
name: analytics-secret
readOnly: true
{{- end}}
- mountPath: /policy-secret
name: policy-secret
readOnly: true
Expand All @@ -73,10 +75,12 @@ spec:
configMap:
name: apigee-remote-service-envoy
{{- if .IsGCPManaged}}
{{- if .AnalyticsSecret}}
- name: analytics-secret
secret:
defaultMode: 420
secretName: {{.Org}}-{{.Env}}-analytics-secret
{{- end}}
- name: policy-secret
secret:
defaultMode: 420
Expand Down

0 comments on commit 1191378

Please sign in to comment.