Skip to content

Commit

Permalink
Fix comment on ServiceCloudscaleLBValidator struct (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastjan authored Jul 26, 2024
1 parent 5398c08 commit 0e32b8a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions webhooks/service_cloudscale_lb_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0e32b8a

Please sign in to comment.