Skip to content

Commit

Permalink
Add commonly used cluster-scoped resources to standard k8s trigger (#…
Browse files Browse the repository at this point in the history
…3341)

Signed-off-by: Tom van Dinther <[email protected]>
  • Loading branch information
tvandinther authored Oct 28, 2024
1 parent 5916d17 commit a2a4602
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/sensors/triggers/standard-k8s/standard-k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ import (
)

var clusterResources = map[string]bool{
"namespaces": true,
"nodes": true,
"namespaces": true,
"nodes": true,
"persistentvolumes": true,
"clusterroles": true,
"clusterrolebindings": true,
}

// StandardK8STrigger implements Trigger interface for standard Kubernetes resources
Expand Down

0 comments on commit a2a4602

Please sign in to comment.