Commit c491f271 authored by jacklull's avatar jacklull

Make Favicon links variables, remove postgres chart

Issue: #1
parent c77635dd
......@@ -23,11 +23,6 @@ keywords:
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
dependencies:
- name: postgresql
version: 8.10.14
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
home: https://wiki.js.org
icon: https://cdn.js.wiki/images/wikijs-butterfly.svg
sources:
......
......@@ -34,7 +34,7 @@ spec:
{{- end }}
containers:
- name: {{ .Chart.Name }}
{{- if .Values.customFavicons.enabled}}
{{- if .Values.customFavicons.enabled }}
lifecycle:
postStart:
exec:
......@@ -43,9 +43,9 @@ spec:
- -c
- |
ls /wiki/assets && rm -rf /wiki/assets/favicons/* && rm -rf /wiki/assets/favicon.ico && \
curl -k -L {{- toYaml .Values.customFavicons.android-chrome-192x192.png}} -o /wiki/assets/favicons/android-chrome-192x192.png && \
curl -k -L {{- toYaml .Values.customFavicons.favicom-32x32.png}} -o /wiki/assets/favicons/favicon-32x32.png && \
curl -k -L {{- toYaml .Values.customFavicons.favicon.ico}} -o /wiki/assets/favicon.ico
curl -k -L {{- toYaml .Values.customFavicons.android-chrome-192x192.png }} -o /wiki/assets/favicons/android-chrome-192x192.png && \
curl -k -L {{- toYaml .Values.customFavicons.favicom-32x32.png }} -o /wiki/assets/favicons/favicon-32x32.png && \
curl -k -L {{- toYaml .Values.customFavicons.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