From 4a4c261a886362c1a312a44add7565502565aa1a Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Sun, 22 Sep 2019 13:36:07 +0300 Subject: [PATCH] Add confirm-promotion webhook type to CRD --- artifacts/flagger/crd.yaml | 3 ++- charts/flagger/templates/crd.yaml | 3 ++- kustomize/base/flagger/crd.yaml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/artifacts/flagger/crd.yaml b/artifacts/flagger/crd.yaml index c9689050f..a02004aab 100644 --- a/artifacts/flagger/crd.yaml +++ b/artifacts/flagger/crd.yaml @@ -215,7 +215,7 @@ spec: properties: items: type: object - required: ["name", "url", "timeout"] + required: ["name", "url"] properties: name: description: Name of the webhook @@ -228,6 +228,7 @@ spec: - confirm-rollout - pre-rollout - rollout + - confirm-promotion - post-rollout url: description: URL address of this webhook diff --git a/charts/flagger/templates/crd.yaml b/charts/flagger/templates/crd.yaml index b8863630a..bca2a1379 100644 --- a/charts/flagger/templates/crd.yaml +++ b/charts/flagger/templates/crd.yaml @@ -216,7 +216,7 @@ spec: properties: items: type: object - required: ['name', 'url', 'timeout'] + required: ["name", "url"] properties: name: description: Name of the webhook @@ -229,6 +229,7 @@ spec: - confirm-rollout - pre-rollout - rollout + - confirm-promotion - post-rollout url: description: URL address of this webhook diff --git a/kustomize/base/flagger/crd.yaml b/kustomize/base/flagger/crd.yaml index c9689050f..a02004aab 100644 --- a/kustomize/base/flagger/crd.yaml +++ b/kustomize/base/flagger/crd.yaml @@ -215,7 +215,7 @@ spec: properties: items: type: object - required: ["name", "url", "timeout"] + required: ["name", "url"] properties: name: description: Name of the webhook @@ -228,6 +228,7 @@ spec: - confirm-rollout - pre-rollout - rollout + - confirm-promotion - post-rollout url: description: URL address of this webhook