fix(agent): pin state migration to manifest image
This commit is contained in:
1 parent
1129cc9157
commit
e757c2f846
2 files changed
+2
-2
No files matched your search
@@ -199,7 +199,7 @@ services:
|
||||
|
||||
# Migrate existing root-owned state before starting the non-root agent.
|
||||
agent-state-init:
|
||||
image: eltruncho/heimdall-agent:${AGENT_IMAGE_TAG:-latest}
|
||||
image: ${AGENT_IMAGE_REFERENCE:?Set AGENT_IMAGE_REFERENCE from the Central agent image manifest}
|
||||
user: "0:0"
|
||||
entrypoint: ["chown", "-R", "1654:1654", "/state"]
|
||||
volumes:
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
start_period: 15s
|
||||
|
||||
agent-state-init:
|
||||
image: eltruncho/heimdall-agent:latest
|
||||
image: {{_agentImageReference}}
|
||||
user: "0:0"
|
||||
entrypoint: ["chown", "-R", "1654:1654", "/state"]
|
||||
volumes:
|
||||
|
||||
Reference in new issue
Block a user