diff options
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": {}, |