mirror of https://github.com/k3s-io/k3s
Merge pull request #60772 from feiskyer/const-cleanup
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Code cleanup: group consts togather **What this PR does / why we need it**: This is a code cleanup, which groups all consts togather. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```pull/6/head
commit
17195553cc
|
@ -65,11 +65,11 @@ const (
|
||||||
// increase in the number of services that can be exposed. This relies on the
|
// increase in the number of services that can be exposed. This relies on the
|
||||||
// Azure "augmented security rules" feature.
|
// Azure "augmented security rules" feature.
|
||||||
ServiceAnnotationSharedSecurityRule = "service.beta.kubernetes.io/azure-shared-securityrule"
|
ServiceAnnotationSharedSecurityRule = "service.beta.kubernetes.io/azure-shared-securityrule"
|
||||||
)
|
|
||||||
|
|
||||||
// ServiceAnnotationLoadBalancerResourceGroup is the annotation used on the service
|
// ServiceAnnotationLoadBalancerResourceGroup is the annotation used on the service
|
||||||
// to specify the resource group of load balancer objects that are not in the same resource group as the cluster.
|
// to specify the resource group of load balancer objects that are not in the same resource group as the cluster.
|
||||||
const ServiceAnnotationLoadBalancerResourceGroup = "service.beta.kubernetes.io/azure-load-balancer-resource-group"
|
ServiceAnnotationLoadBalancerResourceGroup = "service.beta.kubernetes.io/azure-load-balancer-resource-group"
|
||||||
|
)
|
||||||
|
|
||||||
// GetLoadBalancer returns whether the specified load balancer exists, and
|
// GetLoadBalancer returns whether the specified load balancer exists, and
|
||||||
// if so, what its status is.
|
// if so, what its status is.
|
||||||
|
|
Loading…
Reference in New Issue