From 80e37895903c31b00907066e964c65c9f26d9f02 Mon Sep 17 00:00:00 2001 From: Jay Phillips Date: Tue, 23 Jun 2026 17:04:56 +0000 Subject: [PATCH] Add Image Updater for BookStack --- apps/bookstack/deployment-strategy-patch.yaml | 8 +++++++ apps/bookstack/kustomization.yaml | 3 +++ .../bookstack-image-updater.yaml | 21 +++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 apps/bookstack/deployment-strategy-patch.yaml create mode 100644 apps/image-updater/bookstack-image-updater.yaml diff --git a/apps/bookstack/deployment-strategy-patch.yaml b/apps/bookstack/deployment-strategy-patch.yaml new file mode 100644 index 0000000..f169f42 --- /dev/null +++ b/apps/bookstack/deployment-strategy-patch.yaml @@ -0,0 +1,8 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: bookstack + namespace: bookstack +spec: + strategy: + type: Recreate diff --git a/apps/bookstack/kustomization.yaml b/apps/bookstack/kustomization.yaml index 7b3c453..631b11b 100644 --- a/apps/bookstack/kustomization.yaml +++ b/apps/bookstack/kustomization.yaml @@ -6,3 +6,6 @@ resources: - mariadb.yaml - bookstack.yaml - ingress.yaml + +patches: + - path: deployment-strategy-patch.yaml diff --git a/apps/image-updater/bookstack-image-updater.yaml b/apps/image-updater/bookstack-image-updater.yaml new file mode 100644 index 0000000..210d736 --- /dev/null +++ b/apps/image-updater/bookstack-image-updater.yaml @@ -0,0 +1,21 @@ +apiVersion: argocd-image-updater.argoproj.io/v1alpha1 +kind: ImageUpdater +metadata: + name: bookstack-image-updater + namespace: argocd +spec: + writeBackConfig: + method: "git" + gitConfig: + branch: "main" + + applicationRefs: + - namePattern: "bookstack" + images: + - alias: "bookstack" + imageName: "lscr.io/linuxserver/bookstack:latest" + commonUpdateSettings: + updateStrategy: "digest" + manifestTargets: + kustomize: + name: "lscr.io/linuxserver/bookstack"