Open gsmith-sas opened 11 months ago
[Untriage]
Thanks @gsmith-sas, may I know the reason for setting the value as null
when installing the chart ?, the null
keyword is being inferred as string and adds to backend templates. Instead of setting it to null, you can leave it to ""
, to ensure it takes the default, only if you have a private registry you can pass in the registry information to dockerRegistry
. But I'm also open for design change to make sure the global.dockerRegistry
is commented out by default and only if a user wants he can enable the key global.dockerRegistry
and pass in the right registry value. @gsmith-sas can you please contribute to this change?
Adding @TheAlgo @DandyDeveloper @gaiksaya @peterzhuamazon @bbarani
Describe the bug Helm charts keys can use the value "null" to indicate that the key should not be set at all. I tried to set the
global.dockerRegistry
key in the OpenSearch Helm chart to 'null' and the Helm deployment fails with the message "invalid value; expected string".To Reproduce Steps to reproduce the behavior:
helm install my-release --set global.dockerRegistry=null opensearch/opensearch
)Expected behavior This should have deployed the Helm chart without errors.
Chart Name OpenSearch
Screenshots
Host/Environment (please complete the following information):
Additional context
global.dockerRegistry
key and setting it to an empty string ("") as the default value, the values.yaml file chart should have this key commented out (indicating that it is NOT enabled by default). I believe this would be the more standard Helm way of handling this.