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
The groupResourceToGVRString function assumes that a resource type in the form {resource}.{group} will only ever contain one period. This means that it's not possible to use DD_KUBERNETES_RESOURCES_LABELS_AS_TAGS with resources whose groups contain a period as one might do if, for example, they wanted to include labels with unbundled events from a CRD.
It's possible to workaround it by also specifying the resource in DD_CLUSTER_AGENT_KUBE_METADATA_COLLECTION_RESOURCES, however an error is still logged on startup.
Agent Environment
cluster-agent 7.61.0
Describe what happened:
The groupResourceToGVRString function assumes that a resource type in the form
{resource}.{group}
will only ever contain one period. This means that it's not possible to useDD_KUBERNETES_RESOURCES_LABELS_AS_TAGS
with resources whose groups contain a period as one might do if, for example, they wanted to include labels with unbundled events from a CRD.It's possible to workaround it by also specifying the resource in
DD_CLUSTER_AGENT_KUBE_METADATA_COLLECTION_RESOURCES
, however an error is still logged on startup.Relatedly, a similar issue also affects the RBAC configuration in the helm chart.
Describe what you expected:
A key such as
my-resource.example.com
should be parsed as:my-resource
example.com
Steps to reproduce the issue:
Configure
DD_KUBERNETES_RESOURCES_LABELS_AS_TAGS
with keys that contain multiple periods.Additional environment details (Operating System, Cloud provider, etc):
The text was updated successfully, but these errors were encountered: