60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
image:
|
|
repository: requarks/wiki
|
|
tag: 2.5.300
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 3000
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: traefik
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
hosts:
|
|
- host: wiki.dvirlabs.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: wikijs-tls
|
|
hosts:
|
|
- wiki.dvirlabs.com
|
|
|
|
postgresql:
|
|
enabled: true
|
|
auth:
|
|
username: wikijs
|
|
password: wikijs123
|
|
database: wiki
|
|
|
|
persistence:
|
|
enabled: true
|
|
storageClass: nfs-client
|
|
accessMode: ReadWriteMany
|
|
size: 1Gi
|
|
|
|
env:
|
|
OIDC_ENABLED: "true"
|
|
OIDC_CLIENT_ID: "wikijs"
|
|
OIDC_CLIENT_SECRET: "ccBWA0WqVjWJSRglp7f2EFRcFHIYYkTX"
|
|
OIDC_ISSUER: "https://keycloak.dvirlabs.com/realms/lab"
|
|
OIDC_AUTHORIZATION_URL: "https://keycloak.dvirlabs.com/realms/lab/protocol/openid-connect/auth"
|
|
OIDC_TOKEN_URL: "https://keycloak.dvirlabs.com/realms/lab/protocol/openid-connect/token"
|
|
OIDC_USERINFO_URL: "https://keycloak.dvirlabs.com/realms/lab/protocol/openid-connect/userinfo"
|
|
OIDC_SCOPE: "openid email profile"
|
|
OIDC_CALLBACK_URL: "https://wiki.dvirlabs.com/auth/oidc.callback"
|
|
OIDC_AUTO_REGISTER: "true"
|
|
OIDC_DEFAULT_ROLE: "editor"
|
|
|
|
DB_TYPE: "postgres"
|
|
DB_HOST: "wikijs-postgresql" # or check the actual service name from `kubectl get svc`
|
|
DB_PORT: "5432"
|
|
DB_USER: "wikijs"
|
|
DB_PASS: "wikijs123"
|
|
DB_NAME: "wiki"
|
|
|
|
nodeSelector:
|
|
node-role.kubernetes.io/worker: "true"
|