From 0e20952740ec699b03a32c7c4265a5798173b298 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 22 Jan 2024 17:16:46 -0600 Subject: [PATCH] xactfetch: Sync vault before running The Bitwarden vault needs to be synced before *xactfetch* runs, in case the password for a bank website has changed since it was first fetched. --- xactfetch/xactfetch.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xactfetch/xactfetch.yaml b/xactfetch/xactfetch.yaml index 8511dbb..d641c94 100644 --- a/xactfetch/xactfetch.yaml +++ b/xactfetch/xactfetch.yaml @@ -33,6 +33,17 @@ spec: readOnlyRootFilesystem: true runAsGroup: 999 runAsUser: 999 + - name: sync + image: git.pyrocufflink.net/packages/xactfetch + command: + - rbw + - sync + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /var/lib/xactfetch + name: xactfetch-data + subPath: data containers: - name: xactfetch image: git.pyrocufflink.net/packages/xactfetch