I would like to have an option in the KOTS Admin Console, that when selected it runs the a kubectl patch command to patch a value of the kotsadm-confg ConfigMap in the namespace where kots is installed.
Specifically we would like to provide an option to disable garbage collection in the embedded registry from the config panel of kots.
Here are the documents we are trying to execute.
Do you have a recommendation on how to achieve this? Any help provided is greatly appreciated.