Skip to content

Commit b198afe

Browse files
committed
fix: error starting container if not download plugins
Signed-off-by: just1900 <[email protected]>
1 parent 08f350f commit b198afe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

k8s/chart/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ spec:
6868
- name: config
6969
mountPath: /etc/shadowsocks-rust
7070
readOnly: true
71+
{{- if .Values.downloadPlugins }}
7172
- name: plugins
7273
mountPath: /usr/local/bin
74+
{{- end }}
7375
ports:
7476
{{- $hostPort := .Values.hostPort -}}
7577
{{- range $i, $svr := .Values.servers }}

0 commit comments

Comments
 (0)