[bitnami/nginx] Copy hidden files when configuring the cloneStaticSiteFromGit parameter (#13969)

Signed-off-by: jotamartos <jotamartos@vmware.com>

Signed-off-by: jotamartos <jotamartos@vmware.com>
This commit is contained in:
Juan José Martos
2022-12-15 12:53:41 +01:00
committed by GitHub
parent 73555a16d3
commit 9d184eb469
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,4 +25,4 @@ name: nginx
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/nginx
- https://www.nginx.org
version: 13.2.17
version: 13.2.18
+1 -1
View File
@@ -91,7 +91,7 @@ spec:
- |
[[ -f "/opt/bitnami/scripts/git/entrypoint.sh" ]] && source "/opt/bitnami/scripts/git/entrypoint.sh"
git clone {{ .Values.cloneStaticSiteFromGit.repository }} --branch {{ .Values.cloneStaticSiteFromGit.branch }} /tmp/app
[[ "$?" -eq 0 ]] && rm -rf /app/* && mv /tmp/app/* /app/
[[ "$?" -eq 0 ]] && shopt -s dotglob && rm -rf /app/* && mv /tmp/app/* /app/
{{- end }}
{{- if .Values.cloneStaticSiteFromGit.gitClone.args }}
args: {{- include "common.tplvalues.render" (dict "value" .Values.cloneStaticSiteFromGit.gitClone.args "context" $) | nindent 12 }}