Skip to content

PVC settings can't parse #160

Description

@user-name-is-taken

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions