Files
Backup_kube/bitwarden/debian.pod.yaml
T
pi-ux-ce 0bcf765c4c
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 13m8s
put the authentication on the pod but not the dockerfile
2024-10-25 10:44:03 +01:00

31 lines
664 B
YAML

apiVersion: v1
kind: Namespace
metadata:
name: bwbackup
---
apiVersion: v1
kind: Pod
metadata:
name: debian
namespace: bwbackup
spec:
containers:
- image: gitea.tryton.geeraert.eu/pi-ux-ce/bitwarden_cli:1.0.1
command:
- /bin/sh
- "-c"
- "bw config server https://bitwarden.tryton.geeraert.eu/"
- "export BW_key=$(bw login valvankart@orange.fr Impreza555 --raw)"
- "sleep 3600"
volumeMounts:
- name: scripts
mountPath: /config
imagePullPolicy: IfNotPresent
name: debian
restartPolicy: Always
volumes:
- name: scripts
configMap:
name: bitwarden-export-scripts
defaultMode: 0555