Skip to content

Commit

Permalink
Merge pull request #3872 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…3867-to-release-2.0

[release-2.0] Fix lastAppliedTags annotations naming
  • Loading branch information
k8s-ci-robot committed Nov 22, 2022
2 parents c9d5874 + afbc02f commit b479477
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion controllers/awsmachine_security_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const (
// the AdditionalSecurityGroups in the Machine Provider Config.
// See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
// for annotation formatting rules.
SecurityGroupsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws/v2-last-applied-security-groups"
SecurityGroupsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws-last-applied-security-groups"
)

// Ensures that the security groups of the machine are correct
Expand Down
2 changes: 1 addition & 1 deletion controllers/awsmachine_tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
// which tracks the AdditionalTags in the Machine Provider Config.
// See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
// for annotation formatting rules.
TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws/v2-last-applied-tags"
TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws-last-applied-tags"

// VolumeTagsLastAppliedAnnotation is the key for the ebs volumes annotation
// which tracks the AdditionalTags in the Machine Provider Config.
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/services/ec2/launchtemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const (
// AdditionalTags in the AWSMachinePool Provider Config.
// See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
// for annotation formatting rules.
TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws/v2-last-applied-tags"
TagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-aws-last-applied-tags"
)

func (s *Service) ReconcileLaunchTemplate(
Expand Down

0 comments on commit b479477

Please sign in to comment.