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
Describe what happened:
I set up a Kyverno hook to add the tags.datadoghq.com/service label to some Pods
The datadog admission control did not add the environment variable
It looks like this is because the datadog hook was called first, and not seeing the label, did nothing.
Describe what you expected:
For it to add the environment variable
Output of the info page (if this is a bug)
Describe what happened:
I set up a Kyverno hook to add the
tags.datadoghq.com/service
label to some PodsThe datadog admission control did not add the environment variable
It looks like this is because the datadog hook was called first, and not seeing the label, did nothing.
Describe what you expected:
For it to add the environment variable
As the datadog hook is idempotent, I think it should have
reinvocationPolicy: IfNeeded
, notreinvocationPolicy: Never
. See https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#reinvocation-policy for more detailsSteps to reproduce the issue:
Add a kyverno policy like:
Additional environment details (Operating System, Cloud provider, etc):
The text was updated successfully, but these errors were encountered: