From 2754bcf5bdb31e565edfe9ecccee063bf0a4b570 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 15dc619aa..5e6d0efde 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: