Add traffic weight to canary status

- show current weight on kubectl get canaries and kubectl get all
This commit is contained in:
stefanprodan
2019-01-16 16:29:59 +02:00
parent acdd2c46d5
commit 1ef310f00d
8 changed files with 81 additions and 26 deletions
+1
View File
@@ -91,6 +91,7 @@ const (
type CanaryStatus struct {
Phase CanaryPhase `json:"phase"`
FailedChecks int `json:"failedChecks"`
CanaryWeight int `json:"canaryWeight"`
// +optional
LastAppliedSpec string `json:"lastAppliedSpec,omitempty"`
// +optional