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
|
||||
- httproute-http.yaml
|
||||
- httproute-https.yaml
|
||||
- configmap.yaml
|
||||
# - configmap.yaml
|
||||
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
|
|
|
@ -69,9 +69,9 @@ patches:
|
|||
- path: patches/deployment.yaml
|
||||
target:
|
||||
kind: Deployment
|
||||
- path: patches/configmap.yaml
|
||||
target:
|
||||
kind: ConfigMap
|
||||
# - path: patches/configmap.yaml
|
||||
# target:
|
||||
# kind: ConfigMap
|
||||
- path: patches/pvc.yaml
|
||||
target:
|
||||
kind: PersistentVolumeClaim
|
||||
|
@ -82,3 +82,18 @@ labels:
|
|||
app.kubernetes.io/appName: linkwarden
|
||||
- pairs:
|
||||
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