From ae5a46b4a61306c06f6f2eada97fd45fcf5ca974 Mon Sep 17 00:00:00 2001 From: michel-thebeau-WR Date: Thu, 16 Jan 2025 15:35:44 -0500 Subject: [PATCH] Fix agent image registry in injector deployment (#33) The value for AGENT_INJECT_VAULT_IMAGE in injector-deployment.yaml incorrectly points to injector image's registry instead of the agent image registry. This changes the registry to the correct agent image one, so the agent image variable points to the correct image. Signed-off-by: Tae Park Signed-off-by: Michel Thebeau Co-authored-by: Tae Park --- charts/openbao/templates/injector-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/openbao/templates/injector-deployment.yaml b/charts/openbao/templates/injector-deployment.yaml index 64e0de27..d66f6d18 100644 --- a/charts/openbao/templates/injector-deployment.yaml +++ b/charts/openbao/templates/injector-deployment.yaml @@ -69,7 +69,7 @@ spec: - name: AGENT_INJECT_VAULT_AUTH_PATH value: {{ .Values.injector.authPath }} - name: AGENT_INJECT_VAULT_IMAGE - value: "{{ .Values.injector.image.registry | default "quay.io" }}/{{ .Values.injector.agentImage.repository }}:{{ .Values.injector.agentImage.tag }}" + value: "{{ .Values.injector.agentImage.registry | default "quay.io" }}/{{ .Values.injector.agentImage.repository }}:{{ .Values.injector.agentImage.tag }}" {{- if .Values.injector.certs.secretName }} - name: AGENT_INJECT_TLS_CERT_FILE value: "/etc/webhook/certs/{{ .Values.injector.certs.certName }}"