feat(zusam,sheetable): add zusam,sheetable (#3337)

* feat(zusam): add zusam

* update values

* feat(sheetable): add sheetable

* fix zusam and move to incubator

* fix key ref

* http ports

* add some variables
This commit is contained in:
Stavros Kois
2022-07-29 08:51:35 +00:00
committed by GitHub
parent 5303a04191
commit e62ad39f42
15 changed files with 1019 additions and 0 deletions
@@ -0,0 +1,20 @@
{{/* Define the secrets */}}
{{- define "sheetable.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: sheetable-secrets
{{- $sheetableprevious := lookup "v1" "Secret" .Release.Namespace "sheetable-secrets" }}
{{- $api_secret := "" }}
data:
{{- if $sheetableprevious}}
API_SECRET: {{ index $sheetableprevious.data "API_SECRET" }}
{{- else }}
{{- $api_secret := randAlphaNum 32 }}
API_SECRET: {{ $api_secret | b64enc }}
{{- end }}
{{- end -}}
@@ -0,0 +1,7 @@
{{- include "tc.common.loader.init" . }}
{{/* Render secrets for sheetable */}}
{{- include "sheetable.secrets" . }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}