File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 36
36
mountPath : /var/lib/redis
37
37
- name : memcached
38
38
image : memcached:alpine
39
+ command :
40
+ - " sh"
41
+ - " -euc"
42
+ - |
43
+ echo 'mech_list: plain' > "$$SASL_CONF_PATH"
44
+ echo "zulip@$$HOSTNAME:$$MEMCACHED_PASSWORD" > "$$MEMCACHED_SASL_PWDB"
45
+ echo "zulip@localhost:$$MEMCACHED_PASSWORD" >> "$$MEMCACHED_SASL_PWDB"
46
+ exec memcached -S
47
+ env :
48
+ - name : SASL_CONF_PATH
49
+ value : " /home/memcache/memcached.conf"
50
+ - name : MEMCACHED_SASL_PWDB
51
+ value : " /home/memcache/memcached-sasl-db"
52
+ - name : MEMCACHED_PASSWORD
53
+ value : " REPLACE_WITH_SECURE_MEMCACHED_PASSWORD"
39
54
resources :
40
55
limits :
41
56
cpu : 75m
@@ -109,6 +124,8 @@ spec:
109
124
# These should match the passwords configured above
110
125
- name : SECRETS_postgres_password
111
126
value : " REPLACE_WITH_SECURE_POSTGRES_PASSWORD"
127
+ - name : SECRETS_memcached_password
128
+ value : " REPLACE_WITH_SECURE_MEMCACHED_PASSWORD"
112
129
- name : SECRETS_rabbitmq_password
113
130
value : " REPLACE_WITH_SECURE_RABBITMQ_PASSWORD"
114
131
- name : SECRETS_redis_password
You can’t perform that action at this time.
0 commit comments