Skip to content

postgres-operator-ui v1.5.0 cannot be installed using helm 3 #1199

@dennisjac

Description

@dennisjac

Please, answer some short questions which should help us to understand your problem / question better?

  • Which repo tag are you using? v.1.50
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? GKE v1.16.13-gke.401
  • Are you running Postgres Operator in production? not yet
  • Type of issue? Bug report

I'm trying to follow the quickstart guide but ran into an issue with installing the postgres-operator-ui via helm 3:

helm install postgres-operator-ui ./charts/postgres-operator-ui

Error: Deployment in version "v1" cannot be handled as a Deployment: v1.Deployment.Spec: v1.DeploymentSpec.Template: v1.PodTemplateSpec.Spec: v1.PodSpec.Containers: []v1.Container: v1.Container.Env: []v1.EnvVar: v1.EnvVar.Value: ReadString: expects " or n, but found f, error found in #10 byte of ...|,"value":false},{"na|..., bigger context ...|uster-name"},{"name":"RESOURCES_VISIBLE","value":false},{"name":"TARGET_NAMESPACE","value":"default"|...

This seems to be caused by a lack of quotes in the deployment template. When I change this:

            - name: "RESOURCES_VISIBLE"
              value: {{ .Values.envs.resourcesVisible }}

into this:

            - name: "RESOURCES_VISIBLE"
              value: "{{ .Values.envs.resourcesVisible }}"

then the installation succeeds.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions