redpanda-data / redpanda-data/console
Add warning banner or disable license upload when running in Kubernetes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 432
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 40
Description
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.
- Console will require a manual restart. This would require a user to manually delete the console Pods after uploading the console.
- The uploaded license may get overridden if the redpanda license is also managed via helm or the 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are identified; start by locating the license-upload UI and the Helm chart/operator configuration that can identify Kubernetes deployments. Clarify whether the result should disable uploads or show a docs-linked warning, then verify the chosen behavior addresses the restart and license-override concerns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes, react, typescript
- Domain
- devops, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100