Skip to content

Commit

Permalink
Merge pull request #95 from kubescape/tier-label
Browse files Browse the repository at this point in the history
Added tier label
  • Loading branch information
amirmalka committed Mar 11, 2024
2 parents 382b608 + 4b1bdda commit ad77edf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions instanceidhandler/v1/helpers/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const (
ClusterRoleBindingNameMetadataKey = metadataPrefix + "/clusterrolebinding-name"
ResourceSizeMetadataKey = metadataPrefix + "/resource-size"
CompletionMetadataKey = metadataPrefix + "/completion"
TierMetadataKey = metadataPrefix + "/tier"
)

// metadata values
Expand Down Expand Up @@ -66,6 +67,11 @@ const (
Complete = "complete"
)

// Tier values
const (
CoreTier = "core"
)

func IgnoreOwnerReference(ownerKind string) bool {
if ownerKind == "Node" {
return true
Expand Down

0 comments on commit ad77edf

Please sign in to comment.