Skip to content

Helm install for 1.9.0 fails #2203

Open
@jensjohansen

Description

@jensjohansen

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

  • Which image of the operator are you using? e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.8.2
    1.9.0
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? [AWS K8s | GCP ... | Bare Metal K8s]
    AWS K8s (EKS)
  • Are you running Postgres Operator in production? [yes | no]
    Yes
  • Type of issue? [Bug report, question, feature request, etc.]
    Bug Report

Some general remarks when posting a bug report:

  • Please, check the operator, pod (Patroni) and postgresql logs first. When copy-pasting many log lines please do it in a separate GitHub gist together with your Postgres CRD and configuration manifest.
  • If you feel this issue might be more related to the Spilo docker image or Patroni, consider opening issues in the respective repos.

Trying to run

helm upgrade --install postgres-operator postgres-operator-charts/postgres-operator -n datastore

Error:

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(OperatorConfiguration.configuration): unknown field "enable_team_id_clustername_prefix" in do.zala
n.acid.v1.OperatorConfiguration.configuration, ValidationError(OperatorConfiguration.configuration.kubernetes): unknown field "enable_readiness_probe" in do.zalan.acid.v1.OperatorConfiguration.configuration.kubernetes, Valid
ationError(OperatorConfiguration.configuration.kubernetes): unknown field "pod_antiaffinity_preferred_during_scheduling" in do.zalan.acid.v1.OperatorConfiguration.configuration.kubernetes, ValidationError(OperatorConfigurati
on.configuration.kubernetes): unknown field "share_pgsocket_with_sidecars" in do.zalan.acid.v1.OperatorConfiguration.configuration.kubernetes, ValidationError(OperatorConfiguration.configuration.load_balancer): unknown field
 "master_legacy_dns_name_format" in do.zalan.acid.v1.OperatorConfiguration.configuration.load_balancer, ValidationError(OperatorConfiguration.configuration.load_balancer): unknown field "replica_legacy_dns_name_format" in do
.zalan.acid.v1.OperatorConfiguration.configuration.load_balancer]

We tried to roll back to 1.82, but that install now fails to authenticate any database besides postgres and any user besides postgres. 1.82 is working in all the environments we haven't upgraded yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions