]> cat aescling's git repositories - mastodon.git/blob - chart/values.yaml
helm: standardize yaml configuration (#15728)
[mastodon.git] / chart / values.yaml
1 replicaCount: 1
2
3 image:
4 repository: tootsuite/mastodon
5 # https://hub.docker.com/r/tootsuite/mastodon/tags
6 #
7 # alternatively, use `latest` for the latest release or `edge` for the image
8 # built from the most recent commit
9 #
10 # tag: latest
11 tag: v3.3.0
12 # use `Always` when using `latest` tag
13 pullPolicy: IfNotPresent
14
15 mastodon:
16 # create an initial administrator user; the password is autogenerated and will
17 # have to be reset
18 createAdmin:
19 enabled: false
20 username: not_gargron
21 email: not@example.com
22 cron:
23 # run `tootctl media remove` every week
24 removeMedia:
25 enabled: true
26 schedule: "0 0 * * 0"
27 # available locales: https://github.com/tootsuite/mastodon/blob/master/config/application.rb#L43
28 locale: en
29 local_domain: mastodon.local
30 persistence:
31 assets:
32 # ReadWriteOnce is more widely supported than ReadWriteMany, but limits
33 # scalability, since it requires the Rails and Sidekiq pods to run on the
34 # same node.
35 accessMode: ReadWriteOnce
36 resources:
37 requests:
38 storage: 10Gi
39 system:
40 accessMode: ReadWriteOnce
41 resources:
42 requests:
43 storage: 100Gi
44 # these must be set manually; autogenerated keys are rotated on each upgrade
45 secrets:
46 secret_key_base: ""
47 otp_secret: ""
48 vapid:
49 private_key: ""
50 public_key: ""
51 sidekiq:
52 concurrency: 25
53 smtp:
54 auth_method: plain
55 ca_file:
56 delivery_method: smtp
57 domain:
58 enable_starttls_auto: true
59 from_address: notifications@example.com
60 login:
61 openssl_verify_mode: peer
62 password:
63 port: 587
64 reply_to:
65 server: smtp.mailgun.org
66 tls: false
67 streaming:
68 port: 4000
69 # this should be set manually since os.cpus() returns the number of CPUs on
70 # the node running the pod, which is unrelated to the resources allocated to
71 # the pod by k8s
72 workers: 1
73 web:
74 port: 3000
75
76 ingress:
77 enabled: true
78 annotations:
79 kubernetes.io/ingress.class: nginx
80 kubernetes.io/tls-acme: "true"
81 # cert-manager.io/cluster-issuer: "letsencrypt"
82 #
83 # ensure that NGINX's upload size matches Mastodon's
84 # for the K8s ingress controller:
85 # nginx.ingress.kubernetes.io/proxy-body-size: 40m
86 # for the NGINX ingress controller:
87 # nginx.org/client-max-body-size: 40m
88 hosts:
89 - host: mastodon.local
90 paths:
91 - path: '/'
92 tls:
93 - secretName: mastodon-tls
94 hosts:
95 - mastodon.local
96
97 # https://github.com/bitnami/charts/tree/master/bitnami/elasticsearch#parameters
98 elasticsearch:
99 # `false` will disable full-text search
100 #
101 # if you enable ES after the initial install, you will need to manually run
102 # RAILS_ENV=production bundle exec rake chewy:sync
103 # (https://docs.joinmastodon.org/admin/optional/elasticsearch/)
104 enabled: true
105 # may be removed once https://github.com/tootsuite/mastodon/pull/13828 is part
106 # of a tagged release
107 image:
108 tag: 6
109
110 # https://github.com/bitnami/charts/tree/master/bitnami/postgresql#parameters
111 postgresql:
112 # disable if you want to use an existing db; in which case the values below
113 # must match those of that external postgres instance
114 enabled: true
115 # postgresqlHostname: preexisting-postgresql
116 postgresqlDatabase: mastodon_production
117 # you must set a password; the password generated by the postgresql chart will
118 # be rotated on each upgrade:
119 # https://github.com/bitnami/charts/tree/master/bitnami/postgresql#upgrade
120 postgresqlPassword: ""
121 postgresqlUsername: postgres
122
123 # https://github.com/bitnami/charts/tree/master/bitnami/redis#parameters
124 redis:
125 # you must set a password; the password generated by the redis chart will be
126 # rotated on each upgrade:
127 password: ""
128
129 service:
130 type: ClusterIP
131 port: 80
132
133 # https://github.com/tootsuite/mastodon/blob/master/Dockerfile#L88
134 #
135 # if you manually change the UID/GID environment variables, ensure these values
136 # match:
137 podSecurityContext:
138 runAsUser: 991
139 runAsGroup: 991
140 fsGroup: 991
141
142 securityContext: {}
143
144 serviceAccount:
145 # Specifies whether a service account should be created
146 create: true
147 # Annotations to add to the service account
148 annotations: {}
149 # The name of the service account to use.
150 # If not set and create is true, a name is generated using the fullname template
151 name: ""
152
153 podAnnotations: {}
154
155 resources: {}
156 # We usually recommend not to specify default resources and to leave this as a conscious
157 # choice for the user. This also increases chances charts run on environments with little
158 # resources, such as Minikube. If you do want to specify resources, uncomment the following
159 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
160 # limits:
161 # cpu: 100m
162 # memory: 128Mi
163 # requests:
164 # cpu: 100m
165 # memory: 128Mi
166
167 autoscaling:
168 enabled: false
169 minReplicas: 1
170 maxReplicas: 100
171 targetCPUUtilizationPercentage: 80
172 # targetMemoryUtilizationPercentage: 80
173
174 nodeSelector: {}
175
176 tolerations: []
177
178 affinity: {}
This page took 0.08442 seconds and 4 git commands to generate.