feat(apps): move some apps to stable (#2504)

* feat(apps): move apps to stable

* move to stable

* move to stable

* remove jwt and let it auto generate

* remove jwt

* move to stable

* move to stabel

* move to stable

* move to stable

* move to stable and upate image refs

* move to stable

* fix appsmith

* typo
This commit is contained in:
Stavros Kois
2022-04-18 19:57:07 +00:00
committed by GitHub
parent 3a70ccce78
commit 2fdade39d2
116 changed files with 36 additions and 93 deletions
@@ -0,0 +1,20 @@
{{/* Define the secrets */}}
{{- define "pinry.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: pinry-secrets
{{- $pinryprevious := lookup "v1" "Secret" .Release.Namespace "pinry-secrets" }}
{{- $secret_key := "" }}
data:
{{- if $pinryprevious}}
SECRET_KEY: {{ index $pinryprevious.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 pinry */}}
{{- include "pinry.secrets" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}