Skip to content

Conversation

Gottox
Copy link
Contributor

@Gottox Gottox commented Jan 18, 2021

When installing the postgres operator version 1.6.0 through helm I get the following error message:

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(OperatorConfiguration.configuration.aws_or_gcp.enable_ebs_gp3_migration): invalid type for do.zalan.acid.v1.OperatorConfiguration.configuration.aws_or_gcp.enable_ebs_gp3_migration: got "string", expected "boolean", ValidationError(OperatorConfiguration.configuration.enable_pgversion_env_var): invalid type for do.zalan.acid.v1.OperatorConfiguration.configuration.enable_pgversion_env_var: got "string", expected "boolean", ValidationError(OperatorConfiguration.configuration.enable_spilo_wal_path_compat): invalid type for do.zalan.acid.v1.OperatorConfiguration.configuration.enable_spilo_wal_path_compat: got "string", expected "boolean", ValidationError(OperatorConfiguration.configuration.teams_api.enable_postgres_team_crd): invalid type for do.zalan.acid.v1.OperatorConfiguration.configuration.teams_api.enable_postgres_team_crd: got "string", expected "boolean"]

The patch below fixes this behavior.

@FxKu
Copy link
Member

FxKu commented Jan 19, 2021

👎

the values.yaml file provides data for the configmap which expects booleans as strings. From the logs I can see you are using the OperatorConfiguration. Please, choose the values-crd.yaml file then where booleans don't come with quotes. At some point we will unify it merging #1224

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

Successfully merging this pull request may close these issues.

2 participants