diff --git a/helm-chart/templates/nextcloud-aio-database-deployment.yaml b/helm-chart/templates/nextcloud-aio-database-deployment.yaml index c0ac5fe6..7485332b 100755 --- a/helm-chart/templates/nextcloud-aio-database-deployment.yaml +++ b/helm-chart/templates/nextcloud-aio-database-deployment.yaml @@ -21,6 +21,7 @@ spec: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-database spec: + initContainers: - name: init-volumes image: alpine command: diff --git a/helm-chart/update-helm.sh b/helm-chart/update-helm.sh index c559f0e0..71dfc6af 100755 --- a/helm-chart/update-helm.sh +++ b/helm-chart/update-helm.sh @@ -52,6 +52,7 @@ cat << EOL > /tmp/initcontainers volumeMountsInitContainer: EOL cat << EOL > /tmp/initcontainers.database + initContainers: - name: init-volumes image: alpine command: