Files
kubesphere/pkg/constants/constants.go
KubeSphere CI Bot c297e6ab99 [release-4.1] refactor: workspace cascading deletion logic (#6251)
refactor: workspace cascading deletion logic

Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2024-10-30 17:49:06 +08:00

32 lines
1.2 KiB
Go

/*
* Please refer to the LICENSE file in the root directory of the project.
* https://github.com/kubesphere/kubesphere/blob/master/LICENSE
*/
package constants
const (
KubeSystemNamespace = "kube-system"
KubeSphereNamespace = "kubesphere-system"
KubeSphereAPIServerName = "ks-apiserver"
KubeSphereConfigName = "kubesphere-config"
KubeSphereConfigMapDataKey = "kubesphere.yaml"
KubectlPodNamePrefix = "ks-managed-kubectl"
WorkspaceLabelKey = "kubesphere.io/workspace"
DisplayNameAnnotationKey = "kubesphere.io/alias-name"
DescriptionAnnotationKey = "kubesphere.io/description"
CreatorAnnotationKey = "kubesphere.io/creator"
UsernameLabelKey = "kubesphere.io/username"
GenericConfigTypeLabel = "config.kubesphere.io/type"
KubectlPodLabel = "kubesphere.io/kubectl-pod"
ConfigHashAnnotation = "kubesphere.io/config-hash"
KubeSphereManagedLabel = "kubesphere.io/managed"
DeletionPropagationAnnotation = "kubesphere.io/deletion-propagation"
CascadingDeletionFinalizer = "kubesphere.io/cascading-deletion"
)
var (
SystemNamespaces = []string{KubeSphereNamespace, KubeSystemNamespace}
)