helm chart improvements #425
2 changed files with 7 additions and 1 deletions
|
@ -33,7 +33,8 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
# Copies garage.toml from configmap to temporary etc volume and replaces RPC secret placeholder
|
# Copies garage.toml from configmap to temporary etc volume and replaces RPC secret placeholder
|
||||||
- name: {{ .Chart.Name }}-init
|
- name: {{ .Chart.Name }}-init
|
||||||
image: busybox:1.28
|
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.initImage.pullPolicy }}
|
||||||
command: ["sh", "-c", "sed \"s/__RPC_SECRET_REPLACE__/$RPC_SECRET/\" /mnt/garage.toml > /mnt/etc/garage.toml"]
|
command: ["sh", "-c", "sed \"s/__RPC_SECRET_REPLACE__/$RPC_SECRET/\" /mnt/garage.toml > /mnt/etc/garage.toml"]
|
||||||
env:
|
env:
|
||||||
- name: RPC_SECRET
|
- name: RPC_SECRET
|
||||||
|
|
|
@ -77,6 +77,11 @@ image:
|
||||||
tag: ""
|
tag: ""
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
initImage:
|
||||||
patrickjahns marked this conversation as resolved
Outdated
|
|||||||
|
repository: busybox
|
||||||
|
tag: 1.28
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
Loading…
Reference in a new issue
Maybe we should target "stable" by default?