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:
@@ -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" . }}
|
||||
Reference in New Issue
Block a user