diff --git a/charts/stackdriver-exporter/Chart.yaml b/charts/stackdriver-exporter/Chart.yaml index 338ee7d..5db1f5a 100644 --- a/charts/stackdriver-exporter/Chart.yaml +++ b/charts/stackdriver-exporter/Chart.yaml @@ -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 diff --git a/charts/stackdriver-exporter/README.md b/charts/stackdriver-exporter/README.md index eab8523..637a92e 100644 --- a/charts/stackdriver-exporter/README.md +++ b/charts/stackdriver-exporter/README.md @@ -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` diff --git a/charts/stackdriver-exporter/templates/deployment.yaml b/charts/stackdriver-exporter/templates/deployment.yaml index 435c653..44cf8c8 100644 --- a/charts/stackdriver-exporter/templates/deployment.yaml +++ b/charts/stackdriver-exporter/templates/deployment.yaml @@ -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}} @@ -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