Files
Backup_kube/bitwarden/bitwarden_export_scripts.configmap.yaml
T
pi-ux-ce 206417c024
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13m28s
change to use secret instead of hardcoded username
2024-10-28 09:30:02 +00:00

14 lines
428 B
YAML

apiVersion: v1
data:
export_bitwarden.sh: |
#!/usr/bin/env bash
bw config server https://bitwarden.tryton.geeraert.eu/
echo $BITWARDEN_USERNAME
echo $BITWARDEN_PASSWORD
# export BW_key=$(bw login valvankart@orange.fr Impreza555 --raw)
# bw list items --session $BW_key >> /backup/backup_$(date "+%Y-%m-%d_%Hh-%m").json
kind: ConfigMap
metadata:
creationTimestamp: null
name: bitwarden-export-scripts