change to use secret instead of hardcoded username
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13m28s

This commit is contained in:
2024-10-28 09:30:02 +00:00
parent 0109b3cd6f
commit 206417c024
2 changed files with 15 additions and 2 deletions
+11
View File
@@ -15,6 +15,17 @@ spec:
- /bin/sh
- "-c"
- "/config/export_bitwarden.sh"
env:
- name: BITWARDEN_USERNAME
valueFrom:
secretKeyRef:
name: bitwarden-credentials
key: BITWARDEN_USERNAME
- name: BITWARDEN_PASSWORD
valueFrom:
secretKeyRef:
name: bitwarden-credentials
key: BITWARDEN_PASSWORD
volumeMounts:
- name: scripts
mountPath: /config