From 0962d9bf9ac5bab3f23784a0eb18186e3413c12f Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Tue, 11 Jun 2024 11:01:21 +0200 Subject: [PATCH] chore: add stable and canary labels to canary rollouts Signed-off-by: Carlos Sanchez --- examples/analysis/rollout-with-analysis.yaml | 6 ++++++ examples/canary/canary-rollout.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/examples/analysis/rollout-with-analysis.yaml b/examples/analysis/rollout-with-analysis.yaml index 2ee19d542..2f2eacfa6 100644 --- a/examples/analysis/rollout-with-analysis.yaml +++ b/examples/analysis/rollout-with-analysis.yaml @@ -16,6 +16,12 @@ spec: - name: ingress value: canary-demo canaryService: canary-demo-preview + stableMetadata: + labels: + role: stable + canaryMetadata: + labels: + role: canary steps: - setWeight: 40 - pause: {} diff --git a/examples/canary/canary-rollout.yaml b/examples/canary/canary-rollout.yaml index 4477e3f2b..09a74878b 100644 --- a/examples/canary/canary-rollout.yaml +++ b/examples/canary/canary-rollout.yaml @@ -28,6 +28,12 @@ spec: strategy: canary: canaryService: canary-demo-preview + stableMetadata: + labels: + role: stable + canaryMetadata: + labels: + role: canary steps: - setWeight: 20 - pause: {}