Skip to content

Commit

Permalink
Fix some value keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
Whyeasy committed Jun 19, 2020
1 parent f520db1 commit d68331b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/stackdriver-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: stackdriver-exporter
description: A slim Helm Chart to deploy a GCP Stackdriver exporter, with BYO SA and Secrets.
type: application
version: 0.1.3
version: 0.1.4
appVersion: 0.9.1
2 changes: 1 addition & 1 deletion charts/stackdriver-exporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ stackdriver-exporter
====================
A slim Helm Chart to deploy a GCP Stackdriver exporter, with BYO SA and Secrets.

Current chart version is `0.1.3`
Current chart version is `0.1.4`



Expand Down
6 changes: 3 additions & 3 deletions charts/stackdriver-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
{{- if .Values.stackdriver.secretKey}}
value: /etc/secrets/service-account/{{ .Values.stackdriver.secretKey}}
{{- if .Values.stackdriver.serviceAccount.key}}
value: /etc/secrets/service-account/{{ .Values.stackdriver.serviceAccount.key}}
{{- else }}
value: /etc/secrets/service-account/credentials.json
{{- end}}
Expand All @@ -72,7 +72,7 @@ spec:
{{- end }}
volumeMounts:
- name: service-account
{{- if .Values.stackdriver.serviceAccount.items }}
{{- if .Values.stackdriver.serviceAccount.key }}
mountPath: /etc/secrets/service-account
{{- else }}
mountPath: /etc/secrets/service-account/credentials.json
Expand Down

0 comments on commit d68331b

Please sign in to comment.