From bd105e96eb9d4bf87bb4828e4ffc6ebd606d3bb4 Mon Sep 17 00:00:00 2001 From: Marek Cermak Date: Thu, 2 Jan 2020 14:49:43 +0100 Subject: [PATCH] Updated validate flag according to the upstream See https://github.com/argoproj/argo/pull/1779 Signed-off-by: Marek Cermak modified: workflows/templates/inspection-build-template.yaml modified: workflows/templates/inspection-build-with-cpu-template.yaml --- workflows/templates/inspection-build-template.yaml | 4 +++- workflows/templates/inspection-build-with-cpu-template.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/workflows/templates/inspection-build-template.yaml b/workflows/templates/inspection-build-template.yaml index c1761018..f08953fd 100644 --- a/workflows/templates/inspection-build-template.yaml +++ b/workflows/templates/inspection-build-template.yaml @@ -99,7 +99,9 @@ spec: - name: memory resource: action: create - validate: false + flags: [ + "--validate=false" + ] manifest: | kind: BuildConfig apiVersion: build.openshift.io/v1 diff --git a/workflows/templates/inspection-build-with-cpu-template.yaml b/workflows/templates/inspection-build-with-cpu-template.yaml index ab9b7169..1ace3454 100644 --- a/workflows/templates/inspection-build-with-cpu-template.yaml +++ b/workflows/templates/inspection-build-with-cpu-template.yaml @@ -112,7 +112,9 @@ spec: - name: memory resource: action: create - validate: false + flags: [ + "--validate=false" + ] manifest: | kind: BuildConfig apiVersion: build.openshift.io/v1