diff --git a/k8s/backend-deployment.yaml b/k8s/backend-deployment.yaml index cff4413..278a610 100644 --- a/k8s/backend-deployment.yaml +++ b/k8s/backend-deployment.yaml @@ -18,6 +18,26 @@ spec: - configMapRef: name: backend-config env: + - name: AZURE_CLIENT_ID + valueFrom: + secretKeyRef: + name: azure-secrets + key: AZURE_CLIENT_ID + - name: AZURE_TENANT_ID + valueFrom: + secretKeyRef: + name: azure-secrets + key: AZURE_TENANT_ID + - name: AZURE_APP_VALUE + valueFrom: + secretKeyRef: + name: azure-secrets + key: AZURE_APP_VALUE + - name: AZURE_APP_SECRET + valueFrom: + secretKeyRef: + name: azure-secrets + key: AZURE_APP_SECRET - name: DATABASE_URL valueFrom: secretKeyRef: diff --git a/k8s/migration-job.yaml b/k8s/migration-job.yaml index a03a2a0..3bc1514 100644 --- a/k8s/migration-job.yaml +++ b/k8s/migration-job.yaml @@ -13,6 +13,26 @@ spec: - configMapRef: name: backend-config env: + - name: AZURE_CLIENT_ID + valueFrom: + secretKeyRef: + name: azure-secrets + key: AZURE_CLIENT_ID + - name: AZURE_TENANT_ID + valueFrom: + secretKeyRef: + name: azure-secrets + key: AZURE_TENANT_ID + - name: AZURE_APP_VALUE + valueFrom: + secretKeyRef: + name: azure-secrets + key: AZURE_APP_VALUE + - name: AZURE_APP_SECRET + valueFrom: + secretKeyRef: + name: azure-secrets + key: AZURE_APP_SECRET - name: DATABASE_URL valueFrom: secretKeyRef: