Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster Agent Error on CWS Instrumentation webhook when upgrading release with CWS disabled #1613

Open
bkonicek-calm opened this issue Nov 25, 2024 · 1 comment · Fixed by DataDog/datadog-agent#31472 or #1382

Comments

@bkonicek-calm
Copy link

bkonicek-calm commented Nov 25, 2024

We recently upgraded our datadog helm chart version, and I noticed in the logs the following error

datadog-cluster-agent-846448567c-dzggf cluster-agent 2024-11-25 18:37:30 UTC | CLUSTER | ERROR | (pkg/clusteragent/admission/controllers/webhook/controller_base.go:130 in generateWebhooks) | failed to register CWS Instrumentation webhook: can't initialize CWS Instrumentation in remote_copy mode without providing a service account name in config (cluster_agent.service_account_name)

We upgraded to chart version 3.80.0 (agent version 7.59.0)

Our values includes the following, so I'm not sure why it's trying to register a CWS webhook.

datadog:
  securityAgent:
    runtime:
      enabled: false
      fimEnabled: false
      useSecruntimeTrack: false
      securityProfile:
        enabled: false
        anomalyDetection:
          enabled: false
        autoSuppression:
          enabled: false

Everything seems to be working properly, other than this error.

@Gui774ume
Copy link
Contributor

Hey there 👋🏻

Thanks for reporting this, you can safely ignore the error for now as it won't prevent the cluster-agent from starting normally.
We will fix it in upcoming versions of the agent and / or the helm chart !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants