Commit 07a6c43c authored by jacklull's avatar jacklull
parent 2e35ebf1
......@@ -34,6 +34,17 @@ spec:
{{- end }}
containers:
- name: {{ .Chart.Name }}
lifecycle:
postStart:
exec:
command:
- sh
- -c
- |
ls /wiki/assets && rm -rf /wiki/assets/favicons/* && rm -rf /wiki/assets/favicon.ico && \
curl -k -L "https://s3.eterfund.ru/public/ximperlinuxFavicons/android-chrome-192x192.png" -o /wiki/assets/favicons/android-chrome-192x192.png && \
curl -k -L "https://s3.eterfund.ru/public/ximperlnuxFavicons/favicon-32x32.png" -o /wiki/assets/favicons/favicon-32x32.png && \
curl -k -L "https://s3.eterfund.ru/public/ximperlinuxFavicons/favicon.ico" -o /wiki/assets/favicon.ico
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ default "latest" .Values.image.tag }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment