Skip to content

Commit

Permalink
[mastodon] add missing ldap section in values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
thread-koder committed Dec 5, 2022
1 parent 70789ab commit 1c34d8a
Showing 1 changed file with 28 additions and 15 deletions.
43 changes: 28 additions & 15 deletions charts/mastodon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fullnameOverride: ""

mastodon:
# Please look at https://docs.joinmastodon.org/admin/config/ for the full documentation.
localDomain: josa.social
localDomain: example.com
# available locales: https://github.com/mastodon/mastodon/blob/main/config/application.rb#L71
locale: en
# Possible values are debug, info, warn, error, fatal
Expand Down Expand Up @@ -129,8 +129,8 @@ mastodon:
storage: 100Gi

postgres:
host: private-postgresql-db-jordanopensource-org-do-user-1737715-0.b.db.ondigitalocean.com
name: mastodon_dev
host: "localhost"
name: mastodon
port: 25060
## https://www.postgresql.org/docs/10/libpq-ssl.html
sslMode: "require"
Expand Down Expand Up @@ -170,9 +170,9 @@ elasticsearch:

smtp:
authMethod: plain
server: mail.josa.ngo
server: mail.example.com
port: 465
fromAddress: "JOSA Mastodon <noreply@josa.ngo>"
fromAddress: "Mastodon <noreply@example.com>"
domain: josa.ngo
startTls: false
tls: true
Expand All @@ -195,6 +195,21 @@ s3:
## NOTE: Must contain key `AWS_SECRET_ACCESS_KEY`
secretName: "s3-secrets"

ldap:
enabled: true
host: "localhost"
port: "636"
ldapMethod: "simple_tls"
baseDN: "DC=example,DC=com"
bindDN: "cn=admin,dc=example,dc=com"
uid: "mastodon"
mail: "mail"
searchFilter: "(|(%{uid}=%{email})(%{mail}=%{email}))"
credentials:
## The Secret name containing the credentials for ldap.
## NOTE: Must contain key `LDAP_PASSWORD`
secretName: "ldap-secret"

serviceAccount:
# Specifies whether a service account should be created
create: true
Expand Down Expand Up @@ -227,19 +242,18 @@ ingress:
enabled: true
className: "nginx"
annotations:
cert-manager.io/cluster-issuer: "letsencrypt"
external-dns.alpha.kubernetes.io/target: nginx.ingress.cloud.josa.ngo
external-dns.alpha.kubernetes.io/ingress-hostname-source: defined-hosts-only
nginx.ingress.kubernetes.io/proxy-body-size: 40m
# cert-manager.io/cluster-issuer: "letsencrypt"
# nginx.ingress.kubernetes.io/proxy-body-size: 40m
hosts:
- host: josa.social
- host: example.com
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: josa.social-tls
hosts:
- josa.social
[]
# - secretName: josa.social-tls
# hosts:
# - example.com

resources:
{}
Expand All @@ -261,8 +275,7 @@ autoscaling:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

nodeSelector:
doks.digitalocean.com/node-pool: josa-cloud-np
nodeSelector: {}

tolerations: []

Expand Down

0 comments on commit 1c34d8a

Please sign in to comment.