diff --git a/Chart.yaml b/Chart.yaml index 2f20b39..21c8b4a 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -4,8 +4,8 @@ name: basic-web-app PullName: basic-app-puller description: A basic Helm chart to have PHP webapps in Kubernetes. It supports webhook for pulling from gitea type: application -version: 2.1.0 -appVersion: "2.1.0" +version: 2.1.1 +appVersion: "2.1.1" dependencies: - name: postgresql diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 408aec0..3ee3a02 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -24,7 +24,7 @@ spec: mountPath: "/web" {{- if .Values.updater.ssh.enabled }} - name: ssh-key - mountPath: "/ssh-key" + mountPath: "/ssh" readOnly: true {{- end}} command: @@ -34,7 +34,7 @@ spec: cd /web test -d .git && exit 0 {{- if .Values.updater.ssh.enabled }} - git clone ${GIT_URL} . --config core.sshCommand="ssh -i /ssh-key" + git clone ${GIT_URL} . --config core.sshCommand="ssh -i /ssh/ssh-key" {{- else }} git clone ${GIT_URL} . {{- end}}