Skip to content

Commit 8d59a09

Browse files
committed
azure: Add additional tags to AzureCluster
Adding the field AdditionalTags to AzureCluster with the user tags from the install config.
1 parent 8353ac4 commit 8d59a09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/asset/manifests/azure/cluster.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func GenerateClusterAssets(installConfig *installconfig.InstallConfig, clusterID
4848
AzureClusterClassSpec: capz.AzureClusterClassSpec{
4949
SubscriptionID: session.Credentials.SubscriptionID,
5050
Location: installConfig.Config.Azure.Region,
51+
AdditionalTags: installConfig.Config.Platform.Azure.UserTags,
5152
AzureEnvironment: string(installConfig.Azure.CloudName),
5253
IdentityRef: &corev1.ObjectReference{
5354
APIVersion: capz.GroupVersion.String(),

0 commit comments

Comments
 (0)