mirror of
https://github.com/bitnami/charts.git
synced 2026-03-09 07:27:18 +08:00
Signed-off-by: Varac <varac@varac.net> Signed-off-by: Varac <varac@varac.net>
This commit is contained in:
@@ -25,4 +25,4 @@ name: nginx
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/nginx
|
||||
- https://www.nginx.org
|
||||
version: 13.2.15
|
||||
version: 13.2.16
|
||||
|
||||
@@ -90,7 +90,8 @@ spec:
|
||||
- -ec
|
||||
- |
|
||||
[[ -f "/opt/bitnami/scripts/git/entrypoint.sh" ]] && source "/opt/bitnami/scripts/git/entrypoint.sh"
|
||||
git clone {{ .Values.cloneStaticSiteFromGit.repository }} --branch {{ .Values.cloneStaticSiteFromGit.branch }} /app
|
||||
git clone {{ .Values.cloneStaticSiteFromGit.repository }} --branch {{ .Values.cloneStaticSiteFromGit.branch }} /tmp/app
|
||||
[[ "$?" -eq 0 ]] && 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 }}
|
||||
|
||||
Reference in New Issue
Block a user