diff options
| author | Robert Günzler <r@gnzler.io> | 2026-02-04 08:52:54 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-02-04 08:52:54 +0100 |
| commit | 7663c3a87167b59c706bd4ec0cf708402aa7fe46 (patch) | |
| tree | b42bb010d4a27a056e490013855a35c461fb90d8 /bundles/immich | |
| parent | d402c98ae6713f0203c4732b48872948442e0e3f (diff) | |
source container image version from metadata
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/immich')
| -rw-r--r-- | bundles/immich/files/kube.yaml | 2 | ||||
| -rw-r--r-- | bundles/immich/items.py | 2 | ||||
| -rw-r--r-- | bundles/immich/metadata.py | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/bundles/immich/files/kube.yaml b/bundles/immich/files/kube.yaml index 9ea3661..18f5cf6 100644 --- a/bundles/immich/files/kube.yaml +++ b/bundles/immich/files/kube.yaml @@ -23,7 +23,7 @@ spec: dnsPolicy: Default containers: - name: immich - image: ghcr.io/immich-app/immich-server:v1.140.1 + image: ghcr.io/immich-app/immich-server:v${version} envFrom: - secretRef: name: immich diff --git a/bundles/immich/items.py b/bundles/immich/items.py index 450027c..2e67eb3 100644 --- a/bundles/immich/items.py +++ b/bundles/immich/items.py @@ -1,5 +1,7 @@ files = { "/etc/deployments/immich/kube.yaml": { + "content_type": "mako", + "context": node.metadata.get("containers")["immich"], "triggers": {"svc_s6rc:immich:restart"}, }, "/etc/deployments/immich/secret.yaml": { diff --git a/bundles/immich/metadata.py b/bundles/immich/metadata.py index 2a0a806..30b9eb3 100644 --- a/bundles/immich/metadata.py +++ b/bundles/immich/metadata.py @@ -9,7 +9,9 @@ defaults = { } }, "containers": { - "immich": {}, + "immich": { + "version": "2.4.1", + }, }, # "metrics": { # "immich": {}, |