From c372fcdf9f71e740af737becfa25ef11d86fd5f3 Mon Sep 17 00:00:00 2001 From: Anand Kumar Singh Date: Wed, 11 Sep 2024 18:40:21 +0530 Subject: [PATCH] fix: fix agent resources manifest (#179) Signed-off-by: Anand Kumar Singh --- install/kubernetes/agent/agent-deployment.yaml | 8 ++++---- install/kubernetes/agent/agent-params-cm.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/install/kubernetes/agent/agent-deployment.yaml b/install/kubernetes/agent/agent-deployment.yaml index df1eba2..7f8b37a 100644 --- a/install/kubernetes/agent/agent-deployment.yaml +++ b/install/kubernetes/agent/agent-deployment.yaml @@ -25,13 +25,13 @@ spec: valueFrom: configMapKeyRef: name: argocd-agent-params - key: agent.principal.address + key: agent.server.address optional: true - name: ARGOCD_AGENT_REMOTE_PORT valueFrom: configMapKeyRef: name: argocd-agent-params - key: agent.principal.port + key: agent.server.port optional: true - name: ARGOCD_AGENT_LOG_LEVEL valueFrom: @@ -73,9 +73,9 @@ spec: valueFrom: configMapKeyRef: name: argocd-agent-params - key: agent.agent.mode + key: agent.mode optional: true - - name: ARGOCD_AGENT_USERPASS_CREDS_PATH + - name: ARGOCD_AGENT_CREDS valueFrom: configMapKeyRef: name: argocd-agent-params diff --git a/install/kubernetes/agent/agent-params-cm.yaml b/install/kubernetes/agent/agent-params-cm.yaml index 9553498..9129255 100644 --- a/install/kubernetes/agent/agent-params-cm.yaml +++ b/install/kubernetes/agent/agent-params-cm.yaml @@ -10,7 +10,7 @@ data: # agent.creds: Valid credential identifier for this agent. Must be in the # format :. # Default: "" - agent.creds: "userpass:/app/config/creds/userpass.creds" + agent.creds.userpass.path: "userpass:/app/config/creds/userpass.creds" # agent.tls.client.insecure: Whether to skip the validation of the remote TLS # credentials. Insecure. Do only use for development purposes. # Default: false