基于helm-dify 0.23.0 版本初始化
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{{ if and (index .Values "backups" "gcs" "enabled") (index .Values "backups" "gcs" "secrets") }}
|
||||
{{- if index .Values "backups" "gcs" "secrets" "GOOGLE_APPLICATION_CREDENTIALS" }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: backup-gcs
|
||||
labels:
|
||||
app.kubernetes.io/name: weaviate
|
||||
app.kubernetes.io/managed-by: helm
|
||||
type: Opaque
|
||||
data:
|
||||
GOOGLE_APPLICATION_CREDENTIALS: {{ index .Values "backups" "gcs" "secrets" "GOOGLE_APPLICATION_CREDENTIALS" | b64enc }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user