diff --git a/charts/hedgedoc/Chart.yaml b/charts/hedgedoc/Chart.yaml index 4d6639e8859708e2fea1776fa5d0c560d4d14a86..39ee58e6985c96ac2a920a10e82f29bac2edd141 100644 --- a/charts/hedgedoc/Chart.yaml +++ b/charts/hedgedoc/Chart.yaml @@ -11,7 +11,7 @@ keywords: sources: - https://github.com/hedgedoc/hedgedoc/tree/master - https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/charts/hedgedoc -version: 0.1.0 +version: 0.1.1 # renovate: image=quay.io/hedgedoc/hedgedoc appVersion: 1.9.7 maintainers: diff --git a/charts/hedgedoc/README.md b/charts/hedgedoc/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7aa08815535919256676a6e3dcd83d5d2ab880b5 --- /dev/null +++ b/charts/hedgedoc/README.md @@ -0,0 +1,89 @@ +# hedgedoc + +   + +A platform to write and share markdown. + +**Homepage:** <https://hedgedoc.org> + +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| Sheogorath | | <https://shivering-isles.com> | + +## Source Code + +* <https://github.com/hedgedoc/hedgedoc/tree/master> +* <https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/charts/hedgedoc> + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami | postgresql | 11.9.13 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| affinity | object | `{}` | | +| config.allowFreeUrl | bool | `false` | | +| config.defaultPermission | string | `"freely"` | | +| config.domain | string | `nil` | | +| config.email | bool | `false` | | +| config.github.clientId | string | `nil` | | +| config.github.clientSecret | string | `nil` | | +| config.minio.accessKey | string | `nil` | | +| config.minio.endpoint | string | `nil` | | +| config.minio.port | int | `443` | | +| config.minio.secretKey | string | `nil` | | +| config.minio.secure | bool | `true` | | +| config.oauth.authorisationUrl | string | `nil` | | +| config.oauth.clientId | string | `nil` | | +| config.oauth.clientSecret | string | `nil` | | +| config.oauth.providerName | string | `nil` | | +| config.oauth.scope | string | `"openid email profile"` | | +| config.oauth.tokenUrl | string | `nil` | | +| config.oauth.userProfileDisplayName | string | `"name"` | | +| config.oauth.userProfileEmailAttr | string | `"email"` | | +| config.oauth.userProfileUrl | string | `nil` | | +| config.oauth.userProfileUsername | string | `"preferred_username"` | | +| config.protocolUseSsl | bool | `true` | | +| config.s3bucket | string | `"hedgedoc"` | | +| config.session.lifeTime | int | `36000000` | | +| config.session.secret | string | `nil` | | +| config.urlAddPort | bool | `false` | | +| config.useCdn | bool | `false` | | +| fullnameOverride | string | `""` | | +| image.pullPolicy | string | `"IfNotPresent"` | configures image pull policy for hedgedoc deployment | +| image.repository | string | `"quay.io/hedgedoc/hedgedoc"` | | +| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | +| imagePullSecrets | list | `[]` | | +| ingress.annotations | object | `{}` | | +| ingress.className | string | `""` | | +| ingress.enabled | bool | `false` | | +| ingress.hosts[0].host | string | `"hedgedoc.example.com"` | | +| ingress.hosts[0].paths[0].path | string | `"/"` | | +| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | +| ingress.tls | list | `[]` | | +| nameOverride | string | `""` | | +| nodeSelector | object | `{}` | | +| podAnnotations | object | `{}` | | +| podSecurityContext | object | `{}` | | +| postgresql.auth.database | string | `"hedgedoc"` | | +| postgresql.auth.existingSecret | string | `""` | | +| postgresql.auth.password | string | `""` | | +| postgresql.auth.username | string | `"hedgedoc"` | | +| postgresql.enabled | bool | `true` | | +| resources | object | `{}` | | +| securityContext | object | `{}` | | +| service.port | int | `80` | | +| service.type | string | `"ClusterIP"` | | +| serviceAccount.annotations | object | `{}` | | +| serviceAccount.create | bool | `true` | | +| serviceAccount.name | string | `""` | | +| tolerations | list | `[]` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) diff --git a/charts/hedgedoc/templates/configmap.yaml b/charts/hedgedoc/templates/configmap.yaml index 04fd4de87e7fee80276b7b85aec2bb7fdc6c29c6..3191f8b1d85a5a4d893ff451bb1afd6340dd01c1 100644 --- a/charts/hedgedoc/templates/configmap.yaml +++ b/charts/hedgedoc/templates/configmap.yaml @@ -12,6 +12,7 @@ data: CMD_DB_HOST: {{ .Values.postgresql.postgresqlHostname }} CMD_DB_PORT: {{ .Values.postgresql.postgresqlPort | default "5432" | quote }} {{- end }} + CMD_DB_DIALECT: postgres CMD_DB_DATABASE: {{ .Values.postgresql.auth.database }} CMD_DB_USERNAME: {{ .Values.postgresql.auth.username }} {{- with .Values.config.session.lifeTime }}