Profile framework that allows to map CRs to the proper K8s cluster
🔖 Feature description
Implement a "profile" framework that allows mapping CRs to the proper K8s cluster
🎤 Context
A typical pattern in Kubernetes clusters is to have clusters for different purposes. Currently, the Kubernetes backend plugin allows to specify CRs at an individual level, but there is no notion of grouping.
✌️ Possible Implementation
We would like to introduce a Introduce a first-class notion of "profile" (or "archetype" as it has been discussed in the past)
kubernetes: customResourceProfiles: build: - group: 'argoproj.io' apiVersion: 'v1alpha1' plural: 'rollouts' run: - # knative, other CRDs that appear on run clusters, etc
...
clusterLocatorMethods:
- type: config
clusters:
- name: build customResourceProfile: build
👀 Have you spent some time to check if this feature request has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
Are you willing to submit PR?
Yes I am willing to submit a PR!
/cc @jamieklassen @mclarke47
Updating the status: We'll start working on this next week.
another usecase: migrating k8s versions seems to require having a second cluster (or set of clusters) specifically to give users some time to adjust to the new CRD versions
Currently working out a solution for this.