You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argo events seems unable to find and locate cluster scoped resources to delete.
For example, in my sensor triggers: - template: name: remove-ttl-webhook k8s: operation: delete source: resource: apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: name: kyverno-ttl-validating-webhook-cfg
but i'm seeing seeing {"level":"info","ts":1715557132.5311718,"logger":"argo-events.sensor","caller":"standard-k8s/standard-k8s.go:214","msg":"object not found, nothing to delete...","sensorName":"kyverno-validatingwebhook-sensor","triggerName":"remove-ttl-webhook","triggerType":"Kubernetes"}
However, that hook does exist $: kubectl get validatingwebhookconfiguration | grep -i kyverno kyverno-ttl-validating-webhook-cfg 1 122m
This setup works fine if i switch over to trying to remove, say, a pod, so i believe the issue is because its a cluster scoped resource.
This is with argo events 1.9.1, Installed via chart 2.4.3 Using default values (so namespaced: false on the controller). ServiceAccount for argo-events is clusterAdmin, so i don't believe it to be permissions related.
The text was updated successfully, but these errors were encountered:
Argo events seems unable to find and locate cluster scoped resources to delete.
For example, in my sensor
triggers: - template: name: remove-ttl-webhook k8s: operation: delete source: resource: apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: name: kyverno-ttl-validating-webhook-cfg
but i'm seeing seeing
{"level":"info","ts":1715557132.5311718,"logger":"argo-events.sensor","caller":"standard-k8s/standard-k8s.go:214","msg":"object not found, nothing to delete...","sensorName":"kyverno-validatingwebhook-sensor","triggerName":"remove-ttl-webhook","triggerType":"Kubernetes"}
However, that hook does exist
$: kubectl get validatingwebhookconfiguration | grep -i kyverno kyverno-ttl-validating-webhook-cfg 1 122m
This setup works fine if i switch over to trying to remove, say, a pod, so i believe the issue is because its a cluster scoped resource.
This is with argo events 1.9.1, Installed via chart 2.4.3 Using default values (so namespaced: false on the controller). ServiceAccount for argo-events is clusterAdmin, so i don't believe it to be permissions related.
The text was updated successfully, but these errors were encountered: