mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Add the mesh provider field to canary CRD
This commit is contained in:
@@ -45,6 +45,8 @@ spec:
|
||||
- service
|
||||
- canaryAnalysis
|
||||
properties:
|
||||
provider:
|
||||
type: string
|
||||
progressDeadlineSeconds:
|
||||
type: number
|
||||
targetRef:
|
||||
|
||||
@@ -46,6 +46,8 @@ spec:
|
||||
- service
|
||||
- canaryAnalysis
|
||||
properties:
|
||||
provider:
|
||||
type: string
|
||||
progressDeadlineSeconds:
|
||||
type: number
|
||||
targetRef:
|
||||
|
||||
@@ -45,6 +45,10 @@ type Canary struct {
|
||||
|
||||
// CanarySpec is the spec for a Canary resource
|
||||
type CanarySpec struct {
|
||||
// if specified overwrites the -mesh-provider flag for this particular canary
|
||||
// +optional
|
||||
Provider string `json:"provider,omitempty"`
|
||||
|
||||
// reference to target resource
|
||||
TargetRef hpav1.CrossVersionObjectReference `json:"targetRef"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user