Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PVC settings can't parse #160

Open
user-name-is-taken opened this issue Sep 12, 2020 · 1 comment
Open

PVC settings can't parse #160

user-name-is-taken opened this issue Sep 12, 2020 · 1 comment

Comments

@user-name-is-taken
Copy link

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/[email protected]/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:950
github.com/spf13/cobra.(*Command).Execute
        /go/pkg/mod/github.com/spf13/[email protected]/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
Copy link

IvanRezv commented Oct 1, 2021

same problem. up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants