Add the mesh provider field to canary CRD

This commit is contained in:
stefanprodan
2019-06-20 14:50:21 +03:00
parent e45ace5d9b
commit 4a9e3182c6
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -45,6 +45,8 @@ spec:
- service
- canaryAnalysis
properties:
provider:
type: string
progressDeadlineSeconds:
type: number
targetRef:
+2
View File
@@ -46,6 +46,8 @@ spec:
- service
- canaryAnalysis
properties:
provider:
type: string
progressDeadlineSeconds:
type: number
targetRef:
+4
View File
@@ -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"`