Skip to content

Commit

Permalink
Fill in DDPA v2alpha1
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jbartosik committed Jan 13, 2025
1 parent 01bed8a commit 3c1e64d
Show file tree
Hide file tree
Showing 15 changed files with 2,276 additions and 47 deletions.
4 changes: 2 additions & 2 deletions api/datadoghq/v2alpha1/datadogagent_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ type SecretBackendConfig struct {
Roles []*SecretBackendRolesConfig `json:"roles,omitempty"`
}

// NetworkPolicyFlavor specifies which flavor of Network Policy to use.
// NetworkPolicyFlavor specifies which flavor of Network Actuation to use.
type NetworkPolicyFlavor string

const (
Expand All @@ -1453,7 +1453,7 @@ const (
NetworkPolicyFlavorCilium NetworkPolicyFlavor = "cilium"
)

// NetworkPolicyConfig provides Network Policy configuration for the agents.
// NetworkPolicyConfig provides Network Actuation configuration for the agents.
// +k8s:openapi-gen=true
type NetworkPolicyConfig struct {
// Create defines whether to create a NetworkPolicy for the current deployment.
Expand Down
527 changes: 517 additions & 10 deletions api/datadoghq/v2alpha1/datadogpodautoscaler_types.go

Large diffs are not rendered by default.

Loading

0 comments on commit 3c1e64d

Please sign in to comment.