Skip to content

Commit

Permalink
Add Oragnizations
Browse files Browse the repository at this point in the history
This will be the new root of the resource tree, replacing projects.
  • Loading branch information
spjmurray committed Feb 29, 2024
1 parent 4707718 commit 17f3488
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ const (
// so this provides a concrete type associated with each resource.
KindLabel = "unikorn.unikorn-cloud.org/kind"

// KindLabelValueOrganization is used to denote a resource belongs to this type.
KindLabelValueOrganization = "organization"

// KindLabelValueProject is used to denote a resource belongs to this type.
KindLabelValueProject = "project"

Expand All @@ -76,6 +79,10 @@ const (
// KindLabelValueKubernetesCluster is used to denote a resource belongs to this type.
KindLabelValueKubernetesCluster = "kubernetescluster"

// OrganizationLabel is a label applied to namespaces to indicate it is under
// control of this tool. Useful for label selection.
OrganizationLabel = "unikorn-cloud.org/organization"

// ProjectLabel is a label applied to namespaces to indicate it is under
// control of this tool. Useful for label selection.
ProjectLabel = "unikorn.unikorn-cloud.org/project"
Expand Down

0 comments on commit 17f3488

Please sign in to comment.