Skip to content

Commit

Permalink
Remove the import policy on jenkins ImageStream
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtrystram committed Feb 13, 2024
1 parent f375e26 commit 2163c90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions deploy
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions manifests/jenkins-s2i.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ objects:
namespace: openshift
referencePolicy:
type: Source
importPolicy:
scheduled: true
- kind: BuildConfig
apiVersion: v1
metadata:
Expand Down Expand Up @@ -105,5 +103,3 @@ objects:
namespace: openshift
referencePolicy:
type: Source
importPolicy:
scheduled: true

0 comments on commit 2163c90

Please sign in to comment.