PVC settings can't parse
user-name-is-taken opened this issue · 1 comments
user-name-is-taken commented
The values.storage.pvc
settings don't properly parse. The error is indicating this line is the problem.
Here's my storage settings:
storage:
pvc:
storageClassName: "-"
name: clickhouse
accessMode: ReadWriteOnce
size: 20Gi
Error:
$ helm install loghouse loghouse-0.3.1.tgz --values ./values.yaml --namespace loghouse --dry-run --debug
install.go:159: [debug] Original chart version: ""
install.go:176: [debug] CHART PATH: C:\Users\lundquism\Documents\gitRepos\backend-services\resources\loghouse\loghouse-0.3.1.tgz
coalesce.go:160: warning: skipped value for storage: Not a table.
Error: YAML parse error on loghouse/templates/clickhouse/clickhouse-pvc.yaml: error converting YAML to JSON: yaml: line 14: block sequence entries are not allowed in this context
helm.go:84: [debug] error converting YAML to JSON: yaml: line 14: block sequence entries are not allowed in this context
YAML parse error on loghouse/templates/clickhouse/clickhouse-pvc.yaml
helm.sh/helm/v3/pkg/releaseutil.(*manifestFile).sort
/home/circleci/helm.sh/helm/pkg/releaseutil/manifest_sorter.go:146
helm.sh/helm/v3/pkg/releaseutil.SortManifests
/home/circleci/helm.sh/helm/pkg/releaseutil/manifest_sorter.go:106
helm.sh/helm/v3/pkg/action.(*Configuration).renderResources
/home/circleci/helm.sh/helm/pkg/action/action.go:159
helm.sh/helm/v3/pkg/action.(*Install).Run
/home/circleci/helm.sh/helm/pkg/action/install.go:234
main.runInstall
/home/circleci/helm.sh/helm/cmd/helm/install.go:229
main.newInstallCmd.func1
/home/circleci/helm.sh/helm/cmd/helm/install.go:117
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
/home/circleci/helm.sh/helm/cmd/helm/helm.go:83
runtime.main
/usr/local/go/src/runtime/proc.go:203
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1357
IvanRezv commented
same problem. up