Skip to content

Allow Agent Daemonset Update Strategy#339

Open
macintoshme wants to merge 2 commits intocrowdsecurity:mainfrom
macintoshme:main
Open

Allow Agent Daemonset Update Strategy#339
macintoshme wants to merge 2 commits intocrowdsecurity:mainfrom
macintoshme:main

Conversation

@macintoshme
Copy link
Copy Markdown

Noticed this wasn't fleshed out and we could use it.

AI Slop generated by devstral2 and curated by a moron

/kind enhancement
/area agent

@github-actions github-actions bot added kind/enhancement New feature or request area/agent labels Mar 5, 2026
@macintoshme macintoshme changed the title Add Agent Strategy Allow Agent Daemonset Update Strategy Mar 5, 2026
@macintoshme
Copy link
Copy Markdown
Author

Is there a way I can facilitate this moving forward? Did I miss any documentation about PR?

Copy link
Copy Markdown
Member

@blotus blotus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we need to rename the parameter.

You cannot configure the agent to be a deployment and a daemonset at the same time, so I don't see the advantage of splitting the option in 2: the content of the parameter is passed as-is in the deployment, so the same could be done for the daemonset.

Additionally, renaming a config parameter is a breaking change, and we try to avoid them as much as possible.

@macintoshme macintoshme marked this pull request as draft March 24, 2026 19:47
- Consolidate deploymentStrategy and daemonsetStrategy back into single agent.strategy
- Addresses reviewer concern about unnecessary renaming being a breaking change
- Both Deployment and DaemonSet now use the same agent.strategy parameter
- Follows existing pattern used by lapi.strategy and appsec.strategy
@macintoshme macintoshme marked this pull request as ready for review March 24, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/agent kind/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants