Skip to content

Commit

Permalink
Fix agent image registry in injector deployment (#33)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Michel Thebeau <[email protected]>
Co-authored-by: Tae Park <[email protected]>
  • Loading branch information
michel-thebeau-WR and Tae-Park-WR authored Jan 16, 2025
1 parent 993e542 commit ae5a46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openbao/templates/injector-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit ae5a46b

Please sign in to comment.