feat(apps): move to stable (#3687)
* feat(apps): move to stable * feat(filerun): move to stable
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{{/* Define the secrets */}}
|
||||
{{- define "kitchenowl.secrets" -}}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
name: kitchenowl-secrets
|
||||
{{- $kitchenowlprevious := lookup "v1" "Secret" .Release.Namespace "kitchenowl-secrets" }}
|
||||
{{- $jwt_secret := "" }}
|
||||
data:
|
||||
{{- if $kitchenowlprevious}}
|
||||
JWT_SECRET_KEY: {{ index $kitchenowlprevious.data "JWT_SECRET_KEY" }}
|
||||
{{- else }}
|
||||
{{- $jwt_secret := randAlphaNum 32 }}
|
||||
JWT_SECRET_KEY: {{ $jwt_secret | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,5 @@
|
||||
{{- include "tc.common.loader.init" . }}
|
||||
|
||||
{{ include "kitchenowl.secrets" . }}
|
||||
|
||||
{{ include "tc.common.loader.apply" . }}
|
||||
Reference in New Issue
Block a user