From e0db01dbf62dcfd3f6ef7932ba17fb6e30c52e9d Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Fri, 25 Sep 2026 09:34:59 +0200 Subject: [PATCH] feat(wiki): Flux image automation tracks build. tags ImageRepository and ImagePolicy for gitea.renner.uno/konairius/wiki, same shape as shelly-manager; the deployment carries the setter marker, so the existing ImageUpdateAutomation bumps the tag on every main build. Co-Authored-By: Claude Fable 5.1 --- kubernetes/apps/wiki/deployment.yaml | 3 +-- .../image-automation/kustomization.yaml | 1 + .../infrastructure/image-automation/wiki.yaml | 24 +++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 kubernetes/infrastructure/image-automation/wiki.yaml diff --git a/kubernetes/apps/wiki/deployment.yaml b/kubernetes/apps/wiki/deployment.yaml index 8e066709..71efc33a 100644 --- a/kubernetes/apps/wiki/deployment.yaml +++ b/kubernetes/apps/wiki/deployment.yaml @@ -50,8 +50,7 @@ spec: type: RuntimeDefault containers: - name: wiki - # build. tags from the Wiki repo's release pipeline. - image: gitea.renner.uno/konairius/wiki:build.1790319474 + image: gitea.renner.uno/konairius/wiki:build.1790319474 # {"$imagepolicy": "flux-system:wiki"} securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true diff --git a/kubernetes/infrastructure/image-automation/kustomization.yaml b/kubernetes/infrastructure/image-automation/kustomization.yaml index 93422aa4..88ae4fa2 100644 --- a/kubernetes/infrastructure/image-automation/kustomization.yaml +++ b/kubernetes/infrastructure/image-automation/kustomization.yaml @@ -24,5 +24,6 @@ resources: - valkey.yaml - velero-plugin-for-aws.yaml - vsftpd.yaml + - wiki.yaml - woodpecker.yaml - wyoming.yaml diff --git a/kubernetes/infrastructure/image-automation/wiki.yaml b/kubernetes/infrastructure/image-automation/wiki.yaml new file mode 100644 index 00000000..610cf015 --- /dev/null +++ b/kubernetes/infrastructure/image-automation/wiki.yaml @@ -0,0 +1,24 @@ +apiVersion: image.toolkit.fluxcd.io/v1 +kind: ImageRepository +metadata: + name: wiki + namespace: flux-system +spec: + image: gitea.renner.uno/konairius/wiki + interval: 10m +--- +# The Wiki release pipeline tags every main build `build.`; latest push wins. +apiVersion: image.toolkit.fluxcd.io/v1 +kind: ImagePolicy +metadata: + name: wiki + namespace: flux-system +spec: + imageRepositoryRef: + name: wiki + filterTags: + pattern: '^build\.(?P\d+)$' + extract: '$ts' + policy: + numerical: + order: asc -- 2.54.0