add new versions
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: bwbackup
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: debian
|
||||
namespace: bwbackup
|
||||
spec:
|
||||
containers:
|
||||
# - image: localhost:31795/bitwarden_cli
|
||||
- image: gitea.tryton.geeraert.eu/pi-ux-ce/bitwarden_cli:1.0.0
|
||||
command:
|
||||
- /bin/sh
|
||||
- "-c"
|
||||
# - "apt update && apt install -y curl unzip libsecret-1-0 jq"
|
||||
# - "export VER=$(curl -H "Accept: application/vnd.github+json" https://api.github.com/repos/bitwarden/clients/releases | jq -r .[4].name | sed 's:.*v::') && curl -LO "https://github.com/bitwarden/clients/releases/download/cli-v{$VER}/bw-linux-{$VER}.zip" && unzip bw-linux-*.zip && chmod +x ./bw "
|
||||
# - "mv /bw /usr/local/bin"
|
||||
- "sleep 60m"
|
||||
volumeMounts:
|
||||
- name: scripts
|
||||
mountPath: /config
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: debian
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: scripts
|
||||
configMap:
|
||||
name: bitwarden-export-scripts
|
||||
defaultMode: 0555
|
||||
Reference in New Issue
Block a user