whiteboard add autoupdate image

This commit is contained in:
Márcio Fernandes
2026-07-16 22:07:35 +00:00
parent 07a953009d
commit 3e8b6ed339
5 changed files with 58 additions and 8 deletions
+3 -1
View File
@@ -16,7 +16,9 @@ spec:
spec: spec:
containers: containers:
- name: whiteboard-ws - name: whiteboard-ws
image: ghcr.io/nextcloud-releases/whiteboard:stable ### Maintained by flux - Image Update Automation
image: ghcr.io/nextcloud-releases/whiteboard:stable # {"$imagepolicy": "casa-limbosolutions-com:whiteboard"}
###
ports: ports:
- containerPort: 3002 - containerPort: 3002
env: env:
+13
View File
@@ -0,0 +1,13 @@
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImagePolicy
metadata:
name: whiteboard
spec:
imageRepositoryRef:
name: whiteboard
filterTags:
pattern: '^stable$'
policy:
alphabetical: {}
digestReflectionPolicy: Always
interval: 24h
+8
View File
@@ -0,0 +1,8 @@
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImageRepository
metadata:
name: whiteboard
spec:
image: ghcr.io/nextcloud-releases/whiteboard
interval: 40h
@@ -0,0 +1,24 @@
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImageUpdateAutomation
metadata:
name: whiteboard
spec:
interval: 1m
sourceRef:
kind: GitRepository
name: casa-limbosolutions-com
git:
checkout:
ref:
branch: main
commit:
author:
name: FluxCD
email: flux@local
messageTemplate: |
Update whiteboard image.
push:
branch: main
update:
path: .deploy/whiteboard/deployment.yaml
strategy: Setters
+10 -7
View File
@@ -2,10 +2,13 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./whiteboard-secrets.yaml - whiteboard-secrets.yaml
- ./deployment.yaml - deployment.yaml
- ./service.yaml - service.yaml
- ./middlewares.yaml - image-policy.yaml
- ./network-policies.yaml - image-repo.yaml
- ./ingress-web-public.yaml - image-update-automation.yaml
- ./ingress-web.yaml - middlewares.yaml
- network-policies.yaml
- ingress-web-public.yaml
- ingress-web.yaml