From 2163c90badcbe5d814ad6123fd111306b70c7bcd Mon Sep 17 00:00:00 2001 From: jbtrystram Date: Tue, 13 Feb 2024 10:50:38 +0100 Subject: [PATCH] Remove the import policy on jenkins ImageStream Fixes #957 --- deploy | 1 + manifests/jenkins-s2i.yaml | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/deploy b/deploy index 5ba975828..88243d3d8 100755 --- a/deploy +++ b/deploy @@ -102,6 +102,7 @@ def update_resources(args, resources): kind = resource['kind'].lower() print(f"Would {action} {kind} {resource['metadata']['name']}") continue + print(f"oc {action} -f - {json.dumps(resource)}") out = subprocess.run([args.oc_cmd, action, '--filename', '-'], input=json.dumps(resource), encoding='utf-8', check=True, stdout=subprocess.PIPE) diff --git a/manifests/jenkins-s2i.yaml b/manifests/jenkins-s2i.yaml index bb2157e23..e8b727a99 100644 --- a/manifests/jenkins-s2i.yaml +++ b/manifests/jenkins-s2i.yaml @@ -57,8 +57,6 @@ objects: namespace: openshift referencePolicy: type: Source - importPolicy: - scheduled: true - kind: BuildConfig apiVersion: v1 metadata: @@ -105,5 +103,3 @@ objects: namespace: openshift referencePolicy: type: Source - importPolicy: - scheduled: true