sigs.k8s.io/cluster-api-provider-azure@v1.14.3/azure/const.go (about) 1 /* 2 Copyright 2022 The Kubernetes Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 package azure 18 19 const ( 20 // VMTagsLastAppliedAnnotation is the key for the machine object annotation 21 // which tracks the AdditionalTags in the Machine Provider Config. 22 // See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ 23 // for annotation formatting rules. 24 VMTagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-azure-last-applied-tags-vm" 25 26 // RGTagsLastAppliedAnnotation is the key for the Azure Cluster object annotation 27 // which tracks the AdditionalTags for Resource Group which is part in the Azure Cluster. 28 // See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ 29 // for annotation formatting rules. 30 RGTagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-azure-last-applied-tags-rg" 31 32 // ManagedClusterTagsLastAppliedAnnotation is the key for the AzureManagedControlPlane 33 // object annotation which tracks the AdditionalTags for managed clusters. 34 // See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ 35 // for annotation formatting rules. 36 ManagedClusterTagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-azure-last-applied-tags-managedcluster" 37 38 // SecurityRuleLastAppliedAnnotation is the key for the Azure Cluster 39 // object annotation which tracks the security rules for security groups. 40 // See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ 41 // for annotation formatting rules. 42 SecurityRuleLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-azure-last-applied-security-rules" 43 44 // CustomDataHashAnnotation is the key for the machine object annotation 45 // which tracks the hash of the custom data. 46 // See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ 47 // for annotation formatting rules. 48 CustomDataHashAnnotation = "sigs.k8s.io/cluster-api-provider-azure-vmss-custom-data-hash" 49 )