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