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

62 lines
1.5 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
2023-06-20 17:46:47 +00:00
allowAnonymousView: true
2023-05-31 20:05:12 +00:00
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
2023-07-19 19:29:43 +00:00
nodeSelector:
kubernetes.io/arch: amd64
2023-05-31 20:05:12 +00:00
postgresql:
enabled: false
service:
type: ClusterIP
ingress:
enabled: false
hosts:
- kb.icb4dc0.de