如何使用postgress helm 3.0设置多个参数

问题描述 投票:0回答:1

我想如下设置slave.extraVolumes

helm install my-db --set replication.enabled=true,slave.extraVolumes={"db-disk-1","db-disk-2"} bitnami/postgresql -n development

但是它说一个错误

Error: expected at most two arguments, unexpected arguments: bitnami/postgresql

已经测试过的方式:

helm install my-db --set replication.enabled=true,slave.extraVolumes={db-disk-1,db-disk-2} bitnami/postgresql -n development
Error: expected at most two arguments, unexpected arguments: bitnami/postgresql

helm install my-db --set replication.enabled=true,slave.extraVolumes="db-disk-1\,db-disk-2" bitnami/postgresql -n development
Error: YAML parse error on postgresql/templates/statefulset-slaves.yaml: error converting YAML to JSON: yaml: line 115: could not find expected ':'
kubernetes kubernetes-helm helmfile
1个回答
0
投票

至少有三件事发生:

© www.soinside.com 2019 - 2024. All rights reserved.