CodeForPhilly / chime

COVID-19 Hospital Impact Model for Epidemics
https://codeforphilly.github.io/chime/
MIT License
205 stars 151 forks source link

Deploy CHIME 1.1.3 #535

Closed lottspot closed 4 years ago

github-actions[bot] commented 4 years ago

To be applied to prod from k8s/app.yaml:

diff -u -N /tmp/LIVE-110183638/apps.v1.Deployment.chime.chime /tmp/MERGED-783507517/apps.v1.Deployment.chime.chime
--- /tmp/LIVE-110183638/apps.v1.Deployment.chime.chime  2020-04-10 21:07:20.225099999 +0000
+++ /tmp/MERGED-783507517/apps.v1.Deployment.chime.chime    2020-04-10 21:07:20.269100331 +0000
@@ -9,12 +9,12 @@
     kubernetes.io/change-cause: kubectl set image deployment/chime chime=docker.pkg.github.com/codeforphilly/chime/penn-chime:1.0.0
       --namespace=chime --record=true
   creationTimestamp: "2020-03-17T22:40:47Z"
-  generation: 22
+  generation: 23
   labels:
     app: chime
   name: chime
   namespace: chime
-  resourceVersion: "9511120"
+  resourceVersion: "9967283"
   selfLink: /apis/apps/v1/namespaces/chime/deployments/chime
   uid: 0ee5c93a-5e1b-43ab-a510-60d8c4127995
 spec:
@@ -36,7 +36,48 @@
         app: chime
     spec:
       containers:
-      - image: docker.pkg.github.com/codeforphilly/chime/penn-chime:1.1.2
+      - env:
+        - name: GAPI_CRED_TYPE
+          valueFrom:
+            secretKeyRef:
+              key: type
+              name: google-api-creds
+        - name: GAPI_CRED_PROJECT_ID
+          valueFrom:
+            secretKeyRef:
+              key: project_id
+              name: google-api-creds
+        - name: GAPI_CRED_PRIVATE_KEY_ID
+          valueFrom:
+            secretKeyRef:
+              key: private_key_id
+              name: google-api-creds
+        - name: GAPI_CRED_PRIVATE_KEY
+          valueFrom:
+            secretKeyRef:
+              key: private_key
+              name: google-api-creds
+        - name: GAPI_CRED_CLIENT_EMAIL
+          valueFrom:
+            secretKeyRef:
+              key: client_email
+              name: google-api-creds
+        - name: GAPI_CRED_CLIENT_ID
+          valueFrom:
+            secretKeyRef:
+              key: client_id
+              name: google-api-creds
+        - name: GAPI_CRED_AUTH_PROVIDER_X509_CERT_URL
+          valueFrom:
+            secretKeyRef:
+              key: auth_provider_x509_cert_url
+              name: google-api-creds
+        - name: GAPI_CRED_CLIENT_X509_CERT_URL
+          valueFrom:
+            secretKeyRef:
+              key: client_x509_cert_url
+              name: google-api-creds
+        image: docker.pkg.github.com/codeforphilly/chime/penn-chime:1.1.3
         imagePullPolicy: Always
         name: chime
         ports:
lottspot commented 4 years ago

k8s changes look ok