diff --git a/deploy/base/deployment-catalog-history-service.yaml b/deploy/base/deployment-catalog-history-service.yaml index e450d88..cd3ce24 100644 --- a/deploy/base/deployment-catalog-history-service.yaml +++ b/deploy/base/deployment-catalog-history-service.yaml @@ -33,3 +33,6 @@ spec: httpGet: path: /ready port: 8080 + volumeMounts: + - mountPath: /var/secrets/google + name: error-reporting-sa diff --git a/deploy/demo/env.yaml b/deploy/demo/env.yaml index c94e8cc..f4834ca 100644 --- a/deploy/demo/env.yaml +++ b/deploy/demo/env.yaml @@ -10,7 +10,14 @@ spec: spec: containers: - name: catalog-history-service - env: + env: + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /var/secrets/google/error-reporting-sa-key.json + - name: PROJECT_ID_GCP + valueFrom: + secretKeyRef: + name: common-demo + key: PROJECT_ID - name: MONGO_HOST valueFrom: secretKeyRef: @@ -31,3 +38,7 @@ spec: secretKeyRef: name: commonurl-demo key: SSO_AUTH_URI + volumes: + - name: error-reporting-sa + secret: + secretName: error-reporting-sa-demo diff --git a/deploy/prod/env.yaml b/deploy/prod/env.yaml index 38c1055..5648191 100644 --- a/deploy/prod/env.yaml +++ b/deploy/prod/env.yaml @@ -10,7 +10,14 @@ spec: spec: containers: - name: catalog-history-service - env: + env: + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /var/secrets/google/error-reporting-sa-key.json + - name: PROJECT_ID_GCP + valueFrom: + secretKeyRef: + name: common-prod + key: PROJECT_ID - name: MONGO_HOST valueFrom: secretKeyRef: @@ -31,3 +38,7 @@ spec: secretKeyRef: name: commonurl-prod key: SSO_AUTH_URI + volumes: + - name: error-reporting-sa + secret: + secretName: error-reporting-sa-prod diff --git a/deploy/staging/env.yaml b/deploy/staging/env.yaml index ff48d10..975937c 100644 --- a/deploy/staging/env.yaml +++ b/deploy/staging/env.yaml @@ -10,7 +10,14 @@ spec: spec: containers: - name: catalog-history-service - env: + env: + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /var/secrets/google/error-reporting-sa-key.json + - name: PROJECT_ID_GCP + valueFrom: + secretKeyRef: + name: common-staging + key: PROJECT_ID - name: MONGO_HOST valueFrom: secretKeyRef: @@ -31,3 +38,7 @@ spec: secretKeyRef: name: commonurl-staging key: SSO_AUTH_URI + volumes: + - name: error-reporting-sa + secret: + secretName: error-reporting-sa-staging