Skip to content

Commit

Permalink
Merge pull request #77 from juicedata/feature/no-update
Browse files Browse the repository at this point in the history
introduce feature flag --cache-client-conf
  • Loading branch information
Hexilee authored Jan 18, 2024
2 parents 93a69c6 + 803af2f commit 768e89e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/juicefs-csi-driver/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ spec:
{{- if .Values.controller.provisioner }}
- --provisioner=true
{{- end }}
{{- if hasKey .Values.controller "cacheClientConf" }}
- --cache-client-conf={{ .Values.controller.cacheClientConf }}
{{- end }}
{{- if eq .Values.mountMode "sidecar" }}
- --webhook=true
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/juicefs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ controller:
# Enable provisioner of controller service, must be set to true when pathPattern is used
# Ref: https://juicefs.com/docs/csi/guide/pv/#using-path-pattern
provisioner: false
# Cache client auth config file in user's secret, only applicable to JuiceFS EE
cacheClientConf: true
replicas: 2
resources:
limits:
Expand Down

0 comments on commit 768e89e

Please sign in to comment.