fix(incubator-apps): small fixes (#2274)

* feat(homer): move to stable

* bump

* feat(outline): move to stable

* bump

* bump

* fix tz

* add trusted host

* bump
This commit is contained in:
Stavros Kois
2022-03-25 00:56:40 +02:00
committed by GitHub
parent 97f80ac458
commit 1962d29df1
26 changed files with 29 additions and 31 deletions
@@ -0,0 +1,24 @@
{{/* Define the secrets */}}
{{- define "outline.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: outline-secrets
{{- $outlineprevious := lookup "v1" "Secret" .Release.Namespace "outline-secrets" }}
{{- $secret_key := "" }}
{{- $utils_secret := "" }}
data:
{{- if $outlineprevious}}
SECRET_KEY: {{ index $outlineprevious.data "SECRET_KEY" }}
UTILS_SECRET: {{ index $outlineprevious.data "UTILS_SECRET" }}
{{- else }}
{{- $secret_key := randAlphaNum 32 }}
{{- $utils_secret := randAlphaNum 32 }}
SECRET_KEY: {{ $secret_key | b64enc }}
UTILS_SECRET: {{ $utils_secret | b64enc }}
{{- end }}
{{- end -}}
@@ -0,0 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{/* Render secrets for fireflyiii */}}
{{- include "outline.secrets" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}