Skip to content

Commit

Permalink
Merge pull request #94 from kubescape/kdr
Browse files Browse the repository at this point in the history
adding new consts for KDR feature
  • Loading branch information
matthyx committed Mar 7, 2024
2 parents 1a4bd9b + 81bb25d commit 382b608
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions instanceidhandler/v1/helpers/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const (
RoleBindingNamespaceMetadataKey = metadataPrefix + "/rolebinding-namespace"
ClusterRoleNameMetadataKey = metadataPrefix + "/clusterrole-name"
ClusterRoleBindingNameMetadataKey = metadataPrefix + "/clusterrolebinding-name"
ResourceSizeMetadataKey = metadataPrefix + "/resource-size"
CompletionMetadataKey = metadataPrefix + "/completion"
)

// metadata values
Expand All @@ -49,11 +51,19 @@ const (

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

// Completion
const (
Partial = "partial"
Complete = "complete"
)

func IgnoreOwnerReference(ownerKind string) bool {
Expand Down

0 comments on commit 382b608

Please sign in to comment.