feat(apps): move apps to stable (#2784)

* feat(netdata): move to stable

* feat(baserow): move to stable

* feat(kopia): move to stable
This commit is contained in:
Stavros Kois
2022-05-29 19:53:52 +03:00
committed by GitHub
parent 53577f61a4
commit 1838d7fa44
23 changed files with 6 additions and 6 deletions
@@ -0,0 +1,20 @@
{{/* Define the secrets */}}
{{- define "baserow.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: baserow-secrets
{{- $baserowprevious := lookup "v1" "Secret" .Release.Namespace "baserow-secrets" }}
{{- $secret_key := "" }}
data:
{{- if $baserowprevious}}
SECRET_KEY: {{ index $baserowprevious.data "SECRET_KEY" }}
{{- else }}
{{- $secret_key := randAlphaNum 32 }}
SECRET_KEY: {{ $secret_key | b64enc }}
{{- end }}
{{- end -}}
@@ -0,0 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{/* Render secrets for baserow */}}
{{- include "baserow.secrets" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}