flux: add auto update images

This commit is contained in:
Márcio Fernandes
2026-06-05 23:09:29 +00:00
parent 4ab249eba4
commit e75c3514bb
5 changed files with 48 additions and 2 deletions
+4 -2
View File
@@ -19,8 +19,10 @@ spec:
role: worker-node
containers:
- name: lyrionmusicserver
image: lmscommunity/lyrionmusicserver:latest
imagePullPolicy: Always
### Maintained by flux - Image Update Automation
image: lmscommunity/lyrionmusicserver:9.1.2 # {"$imagepolicy": "lyrionmusicserver:lms"}
###
imagePullPolicy: IfNotPresent
env:
- name: LOGLEVEL
value: WARN
+10
View File
@@ -0,0 +1,10 @@
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImagePolicy
metadata:
name: lyrionmusicserver
spec:
imageRepositoryRef:
name: lyrionmusicserver
policy:
semver:
range: 9.x.x
+7
View File
@@ -0,0 +1,7 @@
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImageRepository
metadata:
name: lyrionmusicserver
spec:
image: lmscommunity/lyrionmusicserver
interval: 72h
+24
View File
@@ -0,0 +1,24 @@
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImageUpdateAutomation
metadata:
name: lms
spec:
interval: 30m
sourceRef:
kind: GitRepository
name: lms
git:
checkout:
ref:
branch: main
commit:
author:
name: FluxCD
email: flux@local
messageTemplate: |
Update lyrionmusicserver image.
push:
branch: main
update:
path: ./deploy/app/deployment.yaml
strategy: Setters
+3
View File
@@ -9,3 +9,6 @@ resources:
- playlists-pvc.yaml
- ingress.yaml
- music-pv.yaml
- image-policy.yaml
- image-repo.yaml
- image-update-automation.yaml