Use of flow control logic in config


is there a way, I can use flow control like if/else in the config file?
I have a requirement where I need to set the value of a parameter in the values file based on the logic.


if feature_enabled
 features: [feature1, feature2]
 features: []

Is there a way we can set this using config?

Assuming you’re looking to address this in a helm chart values file, you may find The OptionalValues docs to have some valuable examples.

Hello @dex,
You are right about the helm chart values file. Sorry, I should have mentioned that in my question.Thank you for this information. I will check the link to see if it fits my use case.

Best regards,