Custom Params to install Hook during installation

I want to pass custom params to install hook/override it during some installations, is there any way I can do it?

Not as parameters.

Gravity install has a config parameter, which I believe allows writing a kubernetes object at install time. So this could be a ConfigMap, that the install hook would then check for and use to change it’s behavior.

https://gravitational.com/gravity/docs/installation/#standalone-offline-cli-installation See --config option.

thanks will give it a try

did not work since configmap is installed after whole application installation, any other work around?