Switched to configmap generator for pod restart functionality
This commit is contained in:
parent
ae1a0b7e10
commit
bd0db6cc04
2 changed files with 19 additions and 4 deletions
|
@ -9,7 +9,7 @@ resources:
|
||||||
- secret.yaml
|
- secret.yaml
|
||||||
- httproute-http.yaml
|
- httproute-http.yaml
|
||||||
- httproute-https.yaml
|
- httproute-https.yaml
|
||||||
- configmap.yaml
|
# - configmap.yaml
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- includeSelectors: true
|
- includeSelectors: true
|
||||||
|
|
|
@ -69,9 +69,9 @@ patches:
|
||||||
- path: patches/deployment.yaml
|
- path: patches/deployment.yaml
|
||||||
target:
|
target:
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
- path: patches/configmap.yaml
|
# - path: patches/configmap.yaml
|
||||||
target:
|
# target:
|
||||||
kind: ConfigMap
|
# kind: ConfigMap
|
||||||
- path: patches/pvc.yaml
|
- path: patches/pvc.yaml
|
||||||
target:
|
target:
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
@ -82,3 +82,18 @@ labels:
|
||||||
app.kubernetes.io/appName: linkwarden
|
app.kubernetes.io/appName: linkwarden
|
||||||
- pairs:
|
- pairs:
|
||||||
app.kubernetes.io/appNamespace: apps
|
app.kubernetes.io/appNamespace: apps
|
||||||
|
|
||||||
|
configMapGenerator:
|
||||||
|
- name: config
|
||||||
|
literals:
|
||||||
|
- NEXTAUTH_URL="http://linkwarden.leechpepin.com/api/v1/auth"
|
||||||
|
- NEXT_PUBLIC_OLLAMA_ENDPOINT_URL="http://ollama.ai.svc.cluster.local:11434"
|
||||||
|
- OLLAMA_MODEL="phi3:mini-4k"
|
||||||
|
- NEXT_PUBLIC_AUTHENTIK_ENABLED="true"
|
||||||
|
- AUTHENTIK_CUSTOM_NAME="Authentik"
|
||||||
|
- AUTHENTIK_ISSUER="https://auth.leechpepin.com/application/o/linkwarden"
|
||||||
|
- AUTHENTIK_CLIENT_ID="VQtaPxELuwFFUS412pZsk0TFIFpXqPpZYHul9Ddj"
|
||||||
|
- NEXT_PUBLIC_DISABLE_REGISTRATION="true"
|
||||||
|
- NEXT_PUBLIC_CREDENTIALS_ENABLED="false"
|
||||||
|
- NEXT_PUBLIC_EMAIL_PROVIDER="true"
|
||||||
|
- EMAIL_FROM="homelab@leechpepin.com"
|
||||||
|
|
Loading…
Add table
Reference in a new issue