Skip to content

Conversation

@flypenguin
Copy link

@flypenguin flypenguin commented May 3, 2021

the data types in values.yaml are "wrong". if you just perform an "helm install" then the installation fails with a LOT of error messages about wrong data types.

for example configGeneral.enable_crd_validation is '"true"' (i.e. a string value) in the values.yaml file, but should be just 'true' (a yaml boolean value).

weirdly, configPostgresPodResources.default_cpu_limit is expected to be string although a numerical value (wrong as well?), just like configConnectionPooler.connection_pooler_default_cpu_limit.

this commit fixes it. AFTER applying you can just do this:

helm upgrade -i pg-operator zalando/pg-operator

TESTED WITH 1.6.2.

see also:

the data types in values.yaml are "wrong". if you just perform an "helm
install" then the installation fails with a LOT of error messages about
wrong data types.

for example configGeneral.enable_crd_validation is '"true"' (i.e. a string
value) in the values.yaml file, but should be just 'true' (a yaml
boolean value).

weirdly, #configPostgresPodResources.default_cpu_limit is expected to be
string although a numerical value (wrong as well?), just like
configConnectionPooler.connection_pooler_default_cpu_limit.

this commit fixes it. AFTER applying you can just do this:

    helm upgrade -i pg-operator zalando/pg-operator

TESTED WITH 1.6.2.

see also:
  - https://git.io/J3z4S
@FxKu
Copy link
Member

FxKu commented May 4, 2021

👎 see #1318, but maybe things have change for helm in the meantime.

#1224 is the solution we want

@flypenguin
Copy link
Author

oh look two identical PRs. maybe it's a flawed situation breaking expectations of all people using helm 😆

thanks for the quick reply though, that's indeed rare.

@FxKu
Copy link
Member

FxKu commented Jul 29, 2021

Closing, since we merged #1224 .

@FxKu FxKu closed this Jul 29, 2021
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