infrastructure/k8s/roles/codimd/templates/values.codimd.yml.j2

61 lines
1.4 KiB
Text
Raw Normal View History

2023-05-31 20:05:12 +00:00
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: false
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
postgresql:
enabled: false
service:
type: ClusterIP
ingress:
enabled: false
hosts:
- kb.icb4dc0.de