feat: add more
This commit is contained in:
@@ -2,40 +2,40 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: ollama-key-secret
|
||||
name: open-webui-key
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: ollama-key-secret
|
||||
app.kubernetes.io/name: open-webui-key
|
||||
{{- include "custom.labels" . | nindent 4 }}
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: vault
|
||||
name: openbao
|
||||
data:
|
||||
- secretKey: key
|
||||
remoteRef:
|
||||
key: /cl01tl/ollama/key
|
||||
key: /cl01tl/ollama/open-webui/key
|
||||
property: key
|
||||
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: ollama-oidc-secret
|
||||
name: open-webui-oidc-authentik
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: ollama-oidc-secret
|
||||
app.kubernetes.io/name: open-webui-oidc-authentik
|
||||
{{- include "custom.labels" . | nindent 4 }}
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: vault
|
||||
name: openbao
|
||||
data:
|
||||
- secretKey: client
|
||||
remoteRef:
|
||||
key: /authentik/oidc/ollama
|
||||
key: /cl01tl/authentik/oidc/open-webui
|
||||
property: client
|
||||
- secretKey: secret
|
||||
remoteRef:
|
||||
key: /authentik/oidc/ollama
|
||||
key: /cl01tl/authentik/oidc/open-webui
|
||||
property: secret
|
||||
|
||||
@@ -127,7 +127,7 @@ ollama:
|
||||
- name: WEBUI_SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: ollama-key-secret
|
||||
name: ollama-key
|
||||
key: key
|
||||
- name: DATABASE_URL
|
||||
valueFrom:
|
||||
@@ -143,12 +143,12 @@ ollama:
|
||||
- name: OAUTH_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: ollama-oidc-secret
|
||||
name: open-webui-oidc-authentik
|
||||
key: secret
|
||||
- name: OAUTH_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: ollama-oidc-secret
|
||||
name: open-webui-oidc-authentik
|
||||
key: client
|
||||
- name: OAUTH_PROVIDER_NAME
|
||||
value: Authentik
|
||||
|
||||
Reference in New Issue
Block a user