Open chrisseto opened 1 month ago
I'd probably vote for adding some config that informs Console it's managed by our Kubernetes operator. Based on that we could do further adaptions that are specific to operator managed environments. Maybe that suffices versus the approach of making it controllable per feature (i.e. disable license upload because operator
) until we need additional flexibility in the future? Both would be fine for me though.
No strong preference from my end! Either way we'll just be making changes to the config file.
@weeco That works. I've seen it work the same in a previous job just as you described.
Thanks to @JakeSCahill for bringing this to my attention.
Console's new (?) ability to directly upload a license to redpanda is great but could lead to some accidental foot-guns if deployed in Kubernetes via the helm chart or operator.
Neither of these are particularly nasty but 2. could certainly lead to some head scratching or perhaps some unexpected downtime if redpanda doesn't reject expired licenses.
I'd be ideal if console could either disable the ability to upload licenses or perhaps display a warning with a link to our docs with an explanation of the warning. As for the restart... console could just crash itself and rely on Kubernetes to restart it but that's likely not the most pleasant experience.
Console could either garner it's environment via some heuristics or we could have the chart / operator set either a config value or environment variable to enable such functionalities.
cc @david-yu for your thoughts as well.