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