Skip to content

Commit

Permalink
Use the CSI agent image registry from configuration (#17)
Browse files Browse the repository at this point in the history
* Use the CSI agent image registry from configuration

Signed-off-by: Finn <[email protected]>

* csi-driver agent: Use BAO_LOG_LEVEL and BAO_LOG_FORMAT

Signed-off-by: Finn <[email protected]>

---------

Signed-off-by: Finn <[email protected]>
  • Loading branch information
thefinn93 authored Sep 10, 2024
1 parent f9daaad commit a6d9d9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/openbao/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

apiVersion: v2
name: openbao
version: 0.5.0
version: 0.5.1
appVersion: v2.0.1
kubeVersion: ">= 1.27.0-0"
description: Official OpenBao Chart
Expand Down
6 changes: 3 additions & 3 deletions charts/openbao/templates/csi-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spec:
timeoutSeconds: {{ .Values.csi.readinessProbe.timeoutSeconds }}
{{- if eq (.Values.csi.agent.enabled | toString) "true" }}
- name: {{ include "openbao.name" . }}-agent
image: "{{ .Values.csi.agent.image.repository }}:{{ .Values.csi.agent.image.tag }}"
image: "{{ .Values.csi.agent.image.registry | default "docker.io" }}/{{ .Values.csi.agent.image.repository }}:{{ .Values.csi.agent.image.tag }}"
imagePullPolicy: {{ .Values.csi.agent.image.pullPolicy }}
{{ template "csi.agent.resources" . }}
command:
Expand All @@ -117,9 +117,9 @@ spec:
ports:
- containerPort: 8200
env:
- name: VAULT_LOG_LEVEL
- name: BAO_LOG_LEVEL
value: "{{ .Values.csi.agent.logLevel }}"
- name: VAULT_LOG_FORMAT
- name: BAO_LOG_FORMAT
value: "{{ .Values.csi.agent.logFormat }}"
securityContext:
runAsNonRoot: true
Expand Down

0 comments on commit a6d9d9f

Please sign in to comment.