Closed avivace closed 1 year ago
Option 1:
Option 2:
Currently waiting for some feedback - should this be escalated to invenio-config and how we parse invenio.cfg?
could it be because of the quote marks around the value? it gets evaluated as string and then as true. Did you test without the quotes?
We are using
.Values.invenio.datacite.enabled
both as a flag (e.g. to decide when to inject the datacite credentials) and as the value to be injected asINVENIO_DATACITE_ENABLED
in the invenio config map (which feeds the environment). However, YAML's booleanfalse
gets evaluated to true in python, leading to a messed up configuration (e.g. try to deploy the helm charts with the default values, datacite comes up as enabled becauseINVENIO_DATACITE_ENABLED
is set asfalse
and notFalse
in the configMap).