Allow setting ResourceGroupName in AzureManagedControlPlaneTemplate #4721
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
kind/proposal
Issues or PRs related to proposals.
Goals
Non-Goals/Future Work
User Story
As an operator I would like to be able name the resource group for the AKS cluster based on something else than the
metadate.name
of the cluster object.Detailed Description
In my case I would like to name the resourcegroup the same as the
metadata.controlPlaneRef.name
of my cluster object, just like how it automatically picks up the controlplane name in self-managed kubeadm clusters in CAPZ.This would from an operator point of view be done with JSON patching in the ClusterClass, if ResourceGroupName was exposed in the AzureManagedControlPlaneTemplate.
The reason for doing this is to not get into situations where multiple controlplanes gets deployed to the same resource group. This can happend if you have multiple management clusters, or loss of cluster state in a management cluster.
This Issue was made based on a this convosation on the cluster-api-azure slack channel:
https://kubernetes.slack.com/archives/CEX9HENG7/p1712320334762489
With information gathered from: #2684
Thank you!
Contract changes [optional]
Not sure
Data model changes [optional]
Not sure
/kind proposal
The text was updated successfully, but these errors were encountered: