mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-08-25 16:07:24 +00:00
16 lines
293 B
Go
16 lines
293 B
Go
// Copyright 2020-2021 Clastix Labs
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package v1beta1
|
|
|
|
const (
|
|
denyWildcard = "capsule.clastix.io/deny-wildcard"
|
|
)
|
|
|
|
func (t *Tenant) IsWildcardDenied() bool {
|
|
if v, ok := t.Annotations[denyWildcard]; ok && v == "true" {
|
|
return true
|
|
}
|
|
return false
|
|
}
|