Skip to content

Commit c42112b

Browse files
authored
Merge pull request #3867 from dntosas/fix/last-applied-annotations-naming
Fix lastAppliedTags annotations naming
2 parents 6ebafab + b596fd3 commit c42112b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

controllers/awsmachine_security_groups.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const (
3131
// the AdditionalSecurityGroups in the Machine Provider Config.
3232
// See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3333
// for annotation formatting rules.
34-
SecurityGroupsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws/v2-last-applied-security-groups"
34+
SecurityGroupsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws-last-applied-security-groups"
3535
)
3636

3737
// Ensures that the security groups of the machine are correct

controllers/awsmachine_tags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const (
2626
// which tracks the AdditionalTags in the Machine Provider Config.
2727
// See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2828
// for annotation formatting rules.
29-
TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws/v2-last-applied-tags"
29+
TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws-last-applied-tags"
3030

3131
// VolumeTagsLastAppliedAnnotation is the key for the ebs volumes annotation
3232
// which tracks the AdditionalTags in the Machine Provider Config.

pkg/cloud/services/ec2/launchtemplate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const (
4747
// AdditionalTags in the AWSMachinePool Provider Config.
4848
// See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
4949
// for annotation formatting rules.
50-
TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws/v2-last-applied-tags"
50+
TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws-last-applied-tags"
5151
)
5252

5353
func (s *Service) ReconcileLaunchTemplate(

0 commit comments

Comments
 (0)