From a27edde6ba94ee604ab8ddb1a3ecb7d8b2dd13ab Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Fri, 26 Jul 2024 14:02:35 +0200 Subject: [PATCH] Fix comment on ServiceCloudscaleLBValidator struct --- webhooks/service_cloudscale_lb_validator.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webhooks/service_cloudscale_lb_validator.go b/webhooks/service_cloudscale_lb_validator.go index f19b618..6c10382 100644 --- a/webhooks/service_cloudscale_lb_validator.go +++ b/webhooks/service_cloudscale_lb_validator.go @@ -18,9 +18,7 @@ const ( CloudscaleLoadbalancerUUIDAnnotation = "k8s.cloudscale.ch/loadbalancer-uuid" ) -// ServiceCloudscaleLBValidator checks if a user is allowed to create a namespace. -// The user or the namespace must have a label with the organization name. -// The organization name is used to count the number of namespaces for the organization. +// ServiceCloudscaleLBValidator denies changes to the k8s.cloudscale.ch/loadbalancer-uuid annotation. type ServiceCloudscaleLBValidator struct { Decoder admission.Decoder