infrastructure/k8s/roles/codimd/templates/values.codimd.yml.j2
Peter Kurfer 965d3abf53
All checks were successful
continuous-integration/drone/push Build is passing
fix: hccm and skooner
2023-07-19 21:29:43 +02:00

62 lines
No EOL
1.5 KiB
Django/Jinja

image:
registry: code.icb4dc0.de
repository: prskr/hackmd
tag: 1c8ecccb
codimd:
connection:
domain: kb.icb4dc0.de
protocolUseSSL: true
database:
type: postgres
host: postgres-15-postgresql.postgres.svc.cluster.local
port: 5432
username: "{{ codimd.db.user }}"
password: "{{ codimd.db.password }}"
databaseName: "codimd"
imageUpload:
storeType: minio
minio:
endpoint: minio.minio.svc.cluster.local
accessKey: "{{ minio.rootUser }}"
secretKey: "{{ minio.rootPassword }}"
secure: false
port: 9000
imageStorePersistentVolume:
enabled: false
security:
sessionSecret: "{{ codimd.session.secret }}"
allowPDFExport: true
notePermission:
allowAnonymousEdit: false
allowAnonymousView: true
authentication:
local:
enabled: false
oauth2:
enabled: true
providerName: Forgejo
clientId: "{{ codimd.auth.clientId }}"
secret: "{{ codimd.auth.clientSecret }}"
authorizationUrl: https://code.icb4dc0.de/login/oauth/authorize
tokenUrl: https://code.icb4dc0.de/login/oauth/access_token
userProfileUrl: https://code.icb4dc0.de/login/oauth/userinfo
scope: openid profile email
attributes:
username: preferred_username
displayName: name
email: email
nodeSelector:
kubernetes.io/arch: amd64
postgresql:
enabled: false
service:
type: ClusterIP
ingress:
enabled: false
hosts:
- kb.icb4dc0.de