mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Update ghost chart to work with non-root ghost container (#1717)
* Update ghost chart to work with non-root ghost container * Bump chart version and move busybox image and tag to values.yaml * Change volumePermissions init-container structure in values.yaml
This commit is contained in:
committed by
Reinhard Nägele
parent
0049b8852b
commit
bcd3b83cd2
@@ -15,6 +15,14 @@ spec:
|
||||
labels:
|
||||
app: {{ template "fullname" . }}
|
||||
spec:
|
||||
initContainers:
|
||||
- name: volume-permissions
|
||||
image: "{{ .Values.volumePermissions.image.name }}:{{ .Values.volumePermissions.image.tag }}"
|
||||
imagePullPolicy: {{ default "" .Values.volumePermissions.image.pullPolicy | quote }}
|
||||
command: ['sh', '-c', 'chmod -R g+rwX /bitnami']
|
||||
volumeMounts:
|
||||
- mountPath: /bitnami
|
||||
name: ghost-data
|
||||
containers:
|
||||
- name: {{ template "fullname" . }}
|
||||
image: "{{ .Values.image }}"
|
||||
|
||||
@@ -1,7 +1,15 @@
|
||||
## Bitnami Ghost image version
|
||||
## ref: https://hub.docker.com/r/bitnami/ghost/tags/
|
||||
##
|
||||
image: bitnami/ghost:0.11.10-r1
|
||||
image: bitnami/ghost:0.11.10-r2
|
||||
|
||||
## Busybox image used to configure volume permissions
|
||||
##
|
||||
volumePermissions:
|
||||
image:
|
||||
name: busybox
|
||||
tag: 1.27.1
|
||||
# pullPolicy:
|
||||
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
|
||||
Reference in New Issue
Block a user