147 lines
5.2 KiB
YAML
147 lines
5.2 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/hedgedoc
|
|
pullPolicy: IfNotPresent
|
|
tag: v1.9.9@sha256:abe8fb284af7ecf93521b44ecdd8be7357c8ce4153023b9bae65ed5f197f1d32
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10132
|
|
persistence:
|
|
uploads:
|
|
enabled: true
|
|
mountPath: "/hedgedoc/public/uploads"
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: hedgedoc
|
|
database: hedgedoc
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
NODE_ENV: "production"
|
|
CMD_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
CMD_DB_PORT: "5432"
|
|
CMD_DB_DIALECT: "postgres"
|
|
CMD_DB_USERNAME: "{{ .Values.cnpg.main.user }}"
|
|
CMD_DB_DATABASE: "{{ .Values.cnpg.main.database }}"
|
|
CMD_SESSION_SECRET:
|
|
secretKeyRef:
|
|
name: secrets
|
|
key: CMD_SESSION_SECRET
|
|
CMD_DB_HOST:
|
|
secretKeyRef:
|
|
name: cnpg-main-urls
|
|
key: host
|
|
CMD_DB_PASSWORD:
|
|
secretKeyRef:
|
|
name: cnpg-main-user
|
|
key: password
|
|
# User Defined
|
|
CMD_FORBIDDEN_NOTE_IDS: "robots.txt, favicon.ico, api, build, css, docs, fonts, js, uploads, vendor, views"
|
|
CMD_IMAGE_UPLOAD_TYPE: "filesystem"
|
|
CMD_SOURCE_URL: ""
|
|
CMD_TOOBUSY_LAG: 70
|
|
CMD_ALLOW_GRAVATAR: true
|
|
CMD_DOMAIN: false
|
|
CMD_PROTOCOL_USESSL: false
|
|
CMD_URL_ADDPORT: false
|
|
# CMD_ALLOW_ORIGIN: "localhost"
|
|
# CMD_HSTS_ENABLE: true
|
|
# CMD_HSTS_INCLUDE_SUBDOMAINS: true
|
|
# CMD_HSTS_MAX_AGE: 31536000
|
|
# CMD_HSTS_PRELOAD: true
|
|
# CMD_CSP_ENABLE: true
|
|
# CMD_CSP_ADD_DISQUS: false
|
|
# CMD_CSP_ADD_GOOGLE_ANALYTICS: false
|
|
# CMD_CSP_REPORTURI: ""
|
|
# CMD_CSP_ALLOW_FRAMING: true
|
|
# CMD_CSP_ALLOW_PDF_EMBED: true
|
|
# CMD_COOKIE_POLICY: "lax"
|
|
# CMD_ALLOW_ANONYMOUS: false
|
|
# CMD_ALLOW_ANONYMOUS_EDITS: false
|
|
# CMD_ALLOW_FREEURL: false
|
|
# CMD_REQUIRE_FREEURL_AUTHENTICATION: true
|
|
# CMD_DEFAULT_PERMISSION: "editable"
|
|
# CMD_SESSION_LIFE: 1209600000
|
|
# CMD_EMAIL: true
|
|
# CMD_ALLOW_EMAIL_REGISTER: true
|
|
# CMD_DROPBOX_CLIENTID: ""
|
|
# CMD_DROPBOX_CLIENTSECRET: ""
|
|
# CMD_FACEBOOK_CLIENTID: ""
|
|
# CMD_FACEBOOK_CLIENTSECRET: ""
|
|
# CMD_GITHUB_CLIENTID: ""
|
|
# CMD_GITHUB_CLIENTSECRET: ""
|
|
# CMD_GITLAB_SCOPE: "api"
|
|
# CMD_GITLAB_BASEURL: ""
|
|
# CMD_GITLAB_CLIENTID: ""
|
|
# CMD_GITLAB_CLIENTSECRET: ""
|
|
# CMD_GITLAB_VERSION: "v4"
|
|
# CMD_GOOGLE_CLIENTID: ""
|
|
# CMD_GOOGLE_CLIENTSECRET: ""
|
|
# CMD_GOOGLE_HOSTEDDOMAIN: ""
|
|
# CMD_TWITTER_CONSUMERKEY: ""
|
|
# CMD_TWITTER_CONSUMERSECRET: ""
|
|
# CMD_MATTERMOST_BASEURL: ""
|
|
# CMD_MATTERMOST_CLIENTID: ""
|
|
# CMD_MATTERMOST_CLIENTSECRET: ""
|
|
# CMD_OAUTH2_USER_PROFILE_URL: ""
|
|
# CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR: ""
|
|
# CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR: ""
|
|
# CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR: ""
|
|
# CMD_OAUTH2_USER_PROFILE_ID_ATTR: ""
|
|
# CMD_OAUTH2_TOKEN_URL: ""
|
|
# CMD_OAUTH2_AUTHORIZATION_URL: ""
|
|
# CMD_OAUTH2_CLIENT_ID: ""
|
|
# CMD_OAUTH2_CLIENT_SECRET: ""
|
|
# CMD_OAUTH2_PROVIDERNAME: ""
|
|
# CMD_OAUTH2_SCOPE: ""
|
|
# CMD_OAUTH2_ROLES_CLAIM: ""
|
|
# CMD_OAUTH2_ACCESS_ROLE: ""
|
|
# CMD_LDAP_URL: ""
|
|
# CMD_LDAP_BINDDN: ""
|
|
# CMD_LDAP_BINDCREDENTIALS: ""
|
|
# CMD_LDAP_SEARCHBASE: ""
|
|
# CMD_LDAP_SEARCHFILTER: ""
|
|
# CMD_LDAP_SEARCHATTRIBUTES: ""
|
|
# CMD_LDAP_USERIDFIELD: ""
|
|
# CMD_LDAP_USERNAMEFIELD: ""
|
|
# CMD_LDAP_TLS_CA: ""
|
|
# CMD_LDAP_PROVIDERNAME: ""
|
|
# CMD_SAML_IDPSSOURL: ""
|
|
# CMD_SAML_IDPCERT: ""
|
|
# CMD_SAML_CLIENTCERT: ""
|
|
# CMD_SAML_ISSUER: ""
|
|
# CMD_SAML_DISABLEREQUESTEDAUTHNCONTEXT: false
|
|
# CMD_SAML_IDENTIFIERFORMAT: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
|
|
# CMD_SAML_GROUPATTRIBUTE: ""
|
|
# CMD_SAML_REQUIREDGROUPS: ""
|
|
# CMD_SAML_EXTERNALGROUPS: ""
|
|
# CMD_SAML_ATTRIBUTE_ID: ""
|
|
# CMD_SAML_ATTRIBUTE_USERNAME: ""
|
|
# CMD_SAML_ATTRIBUTE_EMAIL: ""
|
|
# CMD_SAML_PROVIDERNAME: ""
|
|
# CMD_S3_ACCESS_KEY_ID: ""
|
|
# CMD_S3_SECRET_ACCESS_KEY: ""
|
|
# CMD_S3_REGION: ""
|
|
# CMD_S3_BUCKET: ""
|
|
# CMD_S3_ENDPOINT: ""
|
|
# CMD_AZURE_CONNECTION_STRING: ""
|
|
# CMD_AZURE_CONTAINER: ""
|
|
# CMD_MINIO_ACCESS_KEY: ""
|
|
# CMD_MINIO_SECRET_KEY: ""
|
|
# CMD_MINIO_ENDPOINT: ""
|
|
# CMD_MINIO_PORT: ""
|
|
# CMD_MINIO_SECURE: true
|
|
# CMD_IMGUR_CLIENTID: ""
|
|
# CMD_LUTIM_URL: ""
|
|
# DEBUG: false
|
|
# CMD_LOGLEVEL: "info"
|