From 365a020c98d4fdda364adabac70575680c6c3a10 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Mon, 16 Dec 2024 11:53:31 -0500 Subject: [PATCH] use unique name so deployment can be scaled to multiple replicas --- config/samples/sample-app-agent.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/samples/sample-app-agent.yaml b/config/samples/sample-app-agent.yaml index 15dc619a..5e6d0efd 100644 --- a/config/samples/sample-app-agent.yaml +++ b/config/samples/sample-app-agent.yaml @@ -19,7 +19,10 @@ spec: containers: - env: - name: CRYOSTAT_AGENT_APP_NAME - value: quarkus-cryostat-agent + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.name - name: NAMESPACE valueFrom: fieldRef: