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
Add support for release field in agentless deployment mode (#1130)
* Add support for field in agentless deployment mode
* Add PR link to changelog
* Remove 'rc' from agentless release enum
* Extract validateAgentlessReleaseDeployment, add tests
* Formatting
* Update code/go/internal/validator/semantic/validate_deployment_modes.go
Co-authored-by: Tere <romero.teresa@protonmail.com>
* Formatting
* Change agentless deployment mode 'release' default to 'beta'
* Undo formatting changes
* Clarify var name
* Address PR feedback
* Update description of deployment mode release field
* Move changelog entry from next patch to next minor
---------
Co-authored-by: Tere <romero.teresa@protonmail.com>
returnfmt.Errorf("policy template \"%s\" sets agentless.release but agentless is the only deployment mode; use the package version to indicate maturity instead", tmpl.Name)
expectedErr: `policy template "test" sets agentless.release but agentless is the only deployment mode; use the package version to indicate maturity instead`,
0 commit comments