Adding env variables to use for google api
This closes
The secrets file is deployed into bit warden. Need a chime-ops admin to retrieve
@@ -27,10 +27,52 @@ spec:
containers:
- image: docker.pkg.github.com/codeforphilly/chime/penn-chime:1.1.2
name: chime
+ env:
+ - name: GAPI_CRED_TYPE
+ valueFrom:
+ secretKeyRef:
+ name: google-api-creds
+ key: type
+ - name: GAPI_CRED_PROJECT_ID
+ valueFrom:
+ secretKeyRef:
+ name: google-api-creds
+ key: project_id
+ - name: GAPI_CRED_PRIVATE_KEY_ID
+ valueFrom:
+ secretKeyRef:
+ name: google-api-creds
+ key: private_key_id
+ - name: GAPI_CRED_PRIVATE_KEY
+ valueFrom:
+ secretKeyRef:
+ name: google-api-creds
+ key: private_key
+ - name: GAPI_CRED_CLIENT_EMAIL
+ valueFrom:
+ secretKeyRef:
+ name: google-api-creds
+ key: client_email
+ - name: GAPI_CRED_CLIENT_ID
+ valueFrom:
+ secretKeyRef:
+ name: google-api-creds
+ key: client_id
+ - name: GAPI_CRED_AUTH_PROVIDER_X509_CERT_URL
+ valueFrom:
+ secretKeyRef:
+ name: google-api-creds
+ key: auth_provider_x509_cert_url
+ - name: GAPI_CRED_CLIENT_X509_CERT_URL
+ valueFrom:
+ secretKeyRef:
+ name: google-api-creds
+ key: client_x509_cert_url
ports:
- containerPort: 8000
name: http
protocol: TCP
+
imagePullSecrets:
- name: regcred
