Skip to content

Commit

Permalink
Merge pull request #6579 from coreydaley/trello_1435_default_tolerati…
Browse files Browse the repository at this point in the history
…ons_via_buildconfig_defaulter

Automatic merge from submit-queue.

Ability to specify default tolerations via the buildconfig defaulter

Trello: https://trello.com/c/LNxlMjjU/1435-5-ability-to-specify-default-tolerations-via-the-buildconfig-defaulter-builds

Dependent on:
openshift/origin#17955
  • Loading branch information
openshift-merge-robot committed Jan 11, 2018
2 parents 1e6c2b8 + f3e3f5d commit c557047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions inventory/hosts.example
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,7 @@ openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true',
#openshift_buildoverrides_image_labels=[{'name':'imagelabelname1','value':'imagelabelvalue1'}]
#openshift_buildoverrides_nodeselectors={'nodelabel1':'nodelabelvalue1'}
#openshift_buildoverrides_annotations={'annotationkey1':'annotationvalue1'}
#openshift_buildoverrides_tolerations=[{'key':'mykey1','value':'myvalue1','effect':'NoSchedule','operator':'Equal'}]

# Or you may optionally define your own build overrides configuration serialized as json
#openshift_buildoverrides_json='{"BuildOverrides":{"configuration":{"apiVersion":"v1","kind":"BuildDefaultsConfig","forcePull":"true"}}}'
Expand Down
1 change: 1 addition & 0 deletions roles/openshift_buildoverrides/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ buildoverrides_yaml:
imageLabels: "{{ openshift_buildoverrides_image_labels | default(None) }}"
nodeSelector: "{{ openshift_buildoverrides_nodeselectors | default(None) }}"
annotations: "{{ openshift_buildoverrides_annotations | default(None) }}"
tolerations: "{{ openshift_buildoverrides_tolerations | default(None) }}"

0 comments on commit c557047

Please sign in to comment.