Use the CSI agent image registry from configuration (#17)
* Use the CSI agent image registry from configuration Signed-off-by: Finn <finn@janky.solutions> * csi-driver agent: Use BAO_LOG_LEVEL and BAO_LOG_FORMAT Signed-off-by: Finn <finn@janky.solutions> --------- Signed-off-by: Finn <finn@janky.solutions>
This commit is contained in:
parent
f9daaad711
commit
a6d9d9f388
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: openbao
|
name: openbao
|
||||||
version: 0.5.0
|
version: 0.5.1
|
||||||
appVersion: v2.0.1
|
appVersion: v2.0.1
|
||||||
kubeVersion: ">= 1.27.0-0"
|
kubeVersion: ">= 1.27.0-0"
|
||||||
description: Official OpenBao Chart
|
description: Official OpenBao Chart
|
||||||
|
|
|
@ -103,7 +103,7 @@ spec:
|
||||||
timeoutSeconds: {{ .Values.csi.readinessProbe.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.csi.readinessProbe.timeoutSeconds }}
|
||||||
{{- if eq (.Values.csi.agent.enabled | toString) "true" }}
|
{{- if eq (.Values.csi.agent.enabled | toString) "true" }}
|
||||||
- name: {{ include "openbao.name" . }}-agent
|
- 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 }}
|
imagePullPolicy: {{ .Values.csi.agent.image.pullPolicy }}
|
||||||
{{ template "csi.agent.resources" . }}
|
{{ template "csi.agent.resources" . }}
|
||||||
command:
|
command:
|
||||||
|
@ -117,9 +117,9 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8200
|
- containerPort: 8200
|
||||||
env:
|
env:
|
||||||
- name: VAULT_LOG_LEVEL
|
- name: BAO_LOG_LEVEL
|
||||||
value: "{{ .Values.csi.agent.logLevel }}"
|
value: "{{ .Values.csi.agent.logLevel }}"
|
||||||
- name: VAULT_LOG_FORMAT
|
- name: BAO_LOG_FORMAT
|
||||||
value: "{{ .Values.csi.agent.logFormat }}"
|
value: "{{ .Values.csi.agent.logFormat }}"
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
|
|
Loading…
Reference in a new issue