stackabletech / issues

This repository is only for issues that concern multiple repositories or don't fit into any specific repository
2 stars 0 forks source link

Support for custom labels in our operators #503

Open Techassi opened 10 months ago

Techassi commented 10 months ago

Follow-up of #188

When stackablectl (and in the future our Cockpit) deploys resources into a Kubernetes cluster, we and the user are currently unable to properly identify them afterwards. Adding a common set of labels to the resources we deploy will solve this issue.

Operators should not be labeld with any Stack or Demo, they are not part of a Stack, rather a Stack depends on operators to be present.

Relevant ticket to consider: https://github.com/stackabletech/stackable-cockpit/issues/187

### Tasks
- [ ] Improve existing ADR (https://docs.stackable.tech/home/nightly/contributor/adr/adr031-resource-labels). Also decide on how the user configures custom labels in our operators.
- [ ] Enable operators to label the resources that they deploy with completely custom labels (to be refined)
- [ ] Enable operators to label the resources that are part of a demo/stack to add the demo/stack label (requires the previous task)