Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
zmberg committed Nov 7, 2023
1 parent fc34aa7 commit 9b6fd99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/v1beta1/rollout_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ type RolloutStrategy struct {
// FailureThreshold.
// Defaults to nil.
FailureThreshold *intstr.IntOrString `json:"failureThreshold,omitempty"`
// PatchPodTemplateMetadata indicates patch configuration(e.g. labels, annotations) to the canary deployment podTemplateSpec.metadata
// only support for canary deployment
// +optional
PatchPodTemplateMetadata *PatchPodTemplateMetadata `json:"patchPodTemplateMetadata,omitempty"`
}

type BatchStrategy struct {
Expand Down Expand Up @@ -181,6 +177,10 @@ type CanaryStrategy struct {
// End-to-end progressive delivery capacity for microservice application,
// TrafficRoutingRef is Type TrafficRouting's Name
TrafficRoutingRef string `json:"trafficRoutingRef,omitempty"`
// PatchPodTemplateMetadata indicates patch configuration(e.g. labels, annotations) to the canary deployment podTemplateSpec.metadata
// only support for canary deployment
// +optional
PatchPodTemplateMetadata *PatchPodTemplateMetadata `json:"patchPodTemplateMetadata,omitempty"`
}

type PatchPodTemplateMetadata struct {
Expand Down

0 comments on commit 9b6fd99

Please sign in to comment.