apply custom osbs builder role to openshift system builder
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
256b145135
commit
0884445948
1 changed files with 6 additions and 0 deletions
|
@ -327,6 +327,12 @@
|
|||
creates: "/etc/origin/koji-builder-policy-added"
|
||||
when: env == "production"
|
||||
environment: "{{ osbs_environment }}"
|
||||
- name: set custom build policy for builder service account in openshift for osbs
|
||||
shell: "oadm policy add-role-to-user -n default osbs-custom-build system:serviceaccount:default:builder && touch /etc/origin/koji-custom-build-policy-added"
|
||||
args:
|
||||
creates: "/etc/origin/koji-builder-policy-added"
|
||||
when: env == "production"
|
||||
environment: "{{ osbs_environment }}"
|
||||
|
||||
- name: Manage docker images and image stream
|
||||
hosts: osbs-masters[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue