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/authelia | |
| parent | d402c98ae6713f0203c4732b48872948442e0e3f (diff) | |
source container image version from metadata
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/authelia')
| -rw-r--r-- | bundles/authelia/files/kube.yaml | 2 | ||||
| -rw-r--r-- | bundles/authelia/items.py | 2 | ||||
| -rw-r--r-- | bundles/authelia/metadata.py | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/bundles/authelia/files/kube.yaml b/bundles/authelia/files/kube.yaml index cda7d2c..78ad0a3 100644 --- a/bundles/authelia/files/kube.yaml +++ b/bundles/authelia/files/kube.yaml @@ -32,7 +32,7 @@ spec: imagePullPolicy: Always containers: - name: authelia - image: ghcr.io/authelia/authelia:4.39.4 + image: ghcr.io/authelia/authelia:${version} envFrom: - configMapRef: name: authelia diff --git a/bundles/authelia/items.py b/bundles/authelia/items.py index 0ac3a71..b7711c0 100644 --- a/bundles/authelia/items.py +++ b/bundles/authelia/items.py @@ -17,7 +17,7 @@ files = { "/etc/deployments/authelia/kube.yaml": { "content_type": "mako", - "source": "kube.yaml", + "context": node.metadata.get("containers")["authelia"], "triggers": {"svc_s6rc:authelia:restart"}, }, "/etc/deployments/authelia/secret.yaml": { diff --git a/bundles/authelia/metadata.py b/bundles/authelia/metadata.py index 294e295..b502cac 100644 --- a/bundles/authelia/metadata.py +++ b/bundles/authelia/metadata.py @@ -5,7 +5,9 @@ defaults = { } }, "containers": { - "authelia": {}, + "authelia": { + "version": "4.39.15" + }, }, "metrics": { "authelia": {}, |