From 0e32b8a2c9b41b5516042d8af545c9258dc97adf Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Fri, 26 Jul 2024 14:09:19 +0200 Subject: [PATCH] Fix comment on ServiceCloudscaleLBValidator struct (#108) --- 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