Skip to content

Commit

Permalink
adding new consts for KDR feature
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Bertschy <[email protected]>
  • Loading branch information
matthyx committed Mar 7, 2024
1 parent 1a4bd9b commit f02ecbd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions instanceidhandler/v1/helpers/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const (
RoleBindingNamespaceMetadataKey = metadataPrefix + "/rolebinding-namespace"
ClusterRoleNameMetadataKey = metadataPrefix + "/clusterrole-name"
ClusterRoleBindingNameMetadataKey = metadataPrefix + "/clusterrolebinding-name"
ResourceSizeMetadataKey = metadataPrefix + "/resource-size"
)

// metadata values
Expand All @@ -49,11 +50,15 @@ const (

// Statuses
const (
Initializing = "initializing"
Ready = "ready"
Completed = "completed"
Incomplete = "incomplete"
Unauthorize = "unauthorize"
Initializing = "initializing"
Ready = "ready"
Completed = "completed"
Incomplete = "incomplete"
Unauthorize = "unauthorize"
Partial = "partial"
Full = "full"
MissingRuntime = "missing-runtime"
TooLarge = "too-large"
)

func IgnoreOwnerReference(ownerKind string) bool {
Expand Down

0 comments on commit f02ecbd

Please sign in to comment.