@@ -22,10 +22,10 @@ image:
2222# # Global Docker registry secret names as an array.
2323imagePullSecrets : []
2424
25- # # Partially override common.names .fullname template (will maintain the release name).
25+ # # Partially override zulip .fullname template (will maintain the release name).
2626nameOverride : " "
2727
28- # # Fully override common.names .fullname template.
28+ # # Fully override zulip .fullname template.
2929fullnameOverride : " "
3030
3131serviceAccount :
@@ -198,37 +198,47 @@ sidecars: []
198198
199199# # PostgreSQL settings, see [Requirements](#Requirements).
200200postgresql :
201- primary :
202- containerSecurityContext :
203- # 70 is the standard uid/gid of the "postgres" user in Alpine, which is
204- # used as the base for zulip/zulip-postgresql
205- # https://github.com/docker-library/postgres/blob/23987751b63ce745bd27b1119ab29dc4a1ffd728/Dockerfile-alpine.template#L7
206- runAsUser : 70
207- runAsGroup : 70
208- readOnlyRootFilesystem : false
209201 # # We need to override the Postgresql image to get all the plugins Zulip needs
210202 image :
211- repository : zulip/zulip-postgresql
203+ registry : zulip
204+ repository : zulip-postgresql
212205 tag : 14
213- auth :
214- username : zulip
215- database : zulip
206+ securityContext :
207+ # 70 is the standard uid/gid of the "postgres" user in Alpine, which is
208+ # used as the base for zulip/zulip-postgresql
209+ # https://github.com/docker-library/postgres/blob/23987751b63ce745bd27b1119ab29dc4a1ffd728/Dockerfile-alpine.template#L7
210+ runAsUser : 70
211+ runAsGroup : 70
212+ readOnlyRootFilesystem : false
213+ userDatabase :
214+ name :
215+ value : zulip
216+ user :
217+ value : zulip
218+ customScripts :
219+ 02-zulip-schema.sh : |
220+ psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" -v "dbuser=$POSTGRES_USER" <<-EOSQL
221+ CREATE SCHEMA zulip AUTHORIZATION :"dbuser";
222+ EOSQL
216223
217224# # Rabbitmq settings, see [Requirements](#Requirements).
218225rabbitmq :
219- auth :
220- username : zulip
221- # # Set this to true if you need the rabbitmq to be persistent
222- persistence :
223- enabled : false
226+ # Persistence is disabled by setting neither
227+ # `storage.persistentVolumeClaimName` nor `storage.requestedSize`.
228+ authentication :
229+ user :
230+ value : zulip
224231
225232# # Memcached settings, see [Requirements](#Requirements).
226233memcached :
227234 memcachedUsername : " zulip@localhost"
235+ image :
236+ registry : docker.io
237+ repository : memcached
238+ tag : alpine
228239
229240# # Redis settings, see [Requirements](#Requirements).
230241redis :
231- architecture : standalone
232- master :
233- persistence :
234- enabled : false
242+ # Persistence is disabled by setting neither
243+ # `storage.persistentVolumeClaimName` nor `storage.requestedSize`.
244+ {}
0 commit comments