diff --git a/hirosystems/bitcoin-core/Chart.yaml b/hirosystems/bitcoin-core/Chart.yaml index da4e195..923a429 100644 --- a/hirosystems/bitcoin-core/Chart.yaml +++ b/hirosystems/bitcoin-core/Chart.yaml @@ -25,4 +25,4 @@ sources: - https://github.com/bitcoin/bitcoin - https://github.com/ruimarinho/docker-bitcoin-core - https://bitcoin.org -version: 1.1.0 +version: 1.1.1 diff --git a/hirosystems/bitcoin-core/templates/statefulset.yaml b/hirosystems/bitcoin-core/templates/statefulset.yaml index 37a0664..e5139f4 100644 --- a/hirosystems/bitcoin-core/templates/statefulset.yaml +++ b/hirosystems/bitcoin-core/templates/statefulset.yaml @@ -109,9 +109,9 @@ spec: - /bin/bash - -ec - | - chown -R {{ .Values.initContainerSecurityContext.runAsUser }}:{{ .Values.initContainerSecurityContext.fsGroup }} {{ .Values.persistence.mountPath }} - {{- if .Values.initContainerSecurityContext.enabled }} - securityContext: {{- omit .Values.initContainerSecurityContext "enabled" | toYaml | nindent 12 }} + chown -R {{ .Values.containerSecurityContext.runAsUser }}:{{ .Values.containerSecurityContext.fsGroup }} {{ .Values.persistence.mountPath }} + {{- if .Values.volumePermissions.containerSecurityContext.enabled }} + securityContext: {{- omit .Values.volumePermissions.containerSecurityContext "enabled" | toYaml | nindent 12 }} {{- end }} {{- if .Values.volumePermissions.resources }} resources: {{- toYaml .Values.volumePermissions.resources | nindent 12 }}