-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new version of DatadogPodAutoscaler CRD (#1621)
* Mark DDPA v1alpha1 as the storage version * Generate DDPA v2alpha1 `operator-sdk create api --group datadoghq --kind DatadogPodAutoscaler --version v2alpha1` * Fill in DDPA v2alpha1 Similar to v1alpah1, with the following changes: - `spec.policy` renamed to `spec.actuation` - `spec.policy.applyMode` replaced with `spec.actuation.mode` (allowed values `Apply` and `Preview`) - `spec.policy.upscale.match` and `spec.policy.donwscale.match` removed - `spec.policy.targets` renamed to `spec.policy.objectives` - `sepc.policy.contraints.containers[].limits` removed * Apply review comments * Add groupversion info for v1alpha2 * make generate * Apply review comments * regenerate * Drop Absolute from DatadogPodAutoscalerResourceTarget Its not supported right now * regenerate * Apply review suggestions Co-authored-by: Celene <[email protected]> * Improve descriptions with review comments * regenerate * Apply reviewer suggestions Co-authored-by: Celene <[email protected]> * Set codeowners for autoscaling files * Address review comments * Regenerate --------- Co-authored-by: Celene <[email protected]>
- Loading branch information
1 parent
c8f5ca6
commit be4dc2b
Showing
9 changed files
with
3,165 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.