fix(myorg-assistant): add missing GIT_TOKEN/GIT_REPO_URL/GIT_USERNAME to deadline-checker CronJob
The deadline-checker container crashed at import (pydantic ValidationError: git_token field required) because the CronJob pod did not mount GIT_TOKEN from myorg-assistant-secret, unlike the main Deployment. Added the three git-related secret env vars so Settings() validates.
This commit is contained in:
@@ -59,6 +59,21 @@ spec:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: WEB_SECRET_KEY
|
||||
- name: GIT_REPO_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: GIT_REPO_URL
|
||||
- name: GIT_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: GIT_USERNAME
|
||||
- name: GIT_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: GIT_TOKEN
|
||||
volumeMounts:
|
||||
- name: myorg-data
|
||||
mountPath: /data/myorg
|
||||
|
||||
Reference in New Issue
Block a user