add onlyoffice auto update latest image

This commit is contained in:
Márcio Fernandes
2026-07-16 22:13:32 +00:00
parent 35cf679b44
commit b5e6249bc7
5 changed files with 49 additions and 2 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ spec:
spec:
containers:
- name: onlyoffice
image: onlyoffice/documentserver:latest
### Maintained by flux - Image Update Automation
image: onlyoffice/documentserver:latest # {"$imagepolicy": "casa-limbosolutions-com:onlyoffice"}
###
ports:
- containerPort: 80
env:
+13
View File
@@ -0,0 +1,13 @@
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImagePolicy
metadata:
name: onlyoffice
spec:
imageRepositoryRef:
name: onlyoffice
filterTags:
pattern: '^latest$'
policy:
alphabetical: {}
digestReflectionPolicy: Always
interval: 24h
+8
View File
@@ -0,0 +1,8 @@
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImageRepository
metadata:
name: onlyoffice
spec:
image: onlyoffice/documentserver:latest
interval: 40h
@@ -0,0 +1,24 @@
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImageUpdateAutomation
metadata:
name: onlyoffice
spec:
interval: 1m
sourceRef:
kind: GitRepository
name: cloud-limbosolutions-com
git:
checkout:
ref:
branch: main
commit:
author:
name: FluxCD
email: flux@local
messageTemplate: |
Update whiteboard image.
push:
branch: main
update:
path: /deploy/onlyoffice/deployment.yaml
strategy: Setters
@@ -20,5 +20,5 @@ spec:
push:
branch: main
update:
path: .deploy/whiteboard/deployment.yaml
path: /deploy/whiteboard/deployment.yaml
strategy: Setters