diff options
author | Ben Parees <bparees@redhat.com> | 2017-01-06 14:07:51 -0500 |
---|---|---|
committer | Ben Parees <bparees@redhat.com> | 2017-01-16 11:27:10 -0500 |
commit | 313f52af560af6b651e067d4b9f22b554a4e9cf7 (patch) | |
tree | b2bc6070466d05ea47b4d9a42dd45c368687d29a /roles/openshift_builddefaults/vars | |
parent | 78b948edb0c30e3ec876916a8bbe08db5f055ea7 (diff) | |
download | openshift-313f52af560af6b651e067d4b9f22b554a4e9cf7.tar.gz openshift-313f52af560af6b651e067d4b9f22b554a4e9cf7.tar.bz2 openshift-313f52af560af6b651e067d4b9f22b554a4e9cf7.tar.xz openshift-313f52af560af6b651e067d4b9f22b554a4e9cf7.zip |
add configuration for build default+overrides settings
Diffstat (limited to 'roles/openshift_builddefaults/vars')
-rw-r--r-- | roles/openshift_builddefaults/vars/main.yml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/roles/openshift_builddefaults/vars/main.yml b/roles/openshift_builddefaults/vars/main.yml index bcdf68112..c9ec3b82f 100644 --- a/roles/openshift_builddefaults/vars/main.yml +++ b/roles/openshift_builddefaults/vars/main.yml @@ -6,16 +6,28 @@ builddefaults_yaml: kind: BuildDefaultsConfig gitHTTPProxy: "{{ openshift.builddefaults.git_http_proxy | default('', true) }}" gitHTTPSProxy: "{{ openshift.builddefaults.git_https_proxy | default('', true) }}" + gitNoProxy: "{{ openshift.builddefaults.git_no_proxy | default('', true) }}" env: - name: HTTP_PROXY value: "{{ openshift.builddefaults.http_proxy | default('', true) }}" - name: HTTPS_PROXY value: "{{ openshift.builddefaults.https_proxy | default('', true) }}" - name: NO_PROXY - value: "{{ openshift.builddefaults.no_proxy | default('', true) | join(',') }}" + value: "{{ openshift.builddefaults.no_proxy | default('', true) }}" - name: http_proxy value: "{{ openshift.builddefaults.http_proxy | default('', true) }}" - name: https_proxy value: "{{ openshift.builddefaults.https_proxy | default('', true) }}" - name: no_proxy - value: "{{ openshift.builddefaults.no_proxy | default('', true) | join(',') }}" + value: "{{ openshift.builddefaults.no_proxy | default('', true) }}" + imageLabels: "{{ openshift_builddefaults_image_labels | default(None) }}" + nodeSelector: "{{ openshift_builddefaults_nodeselectors | default(None) }}" + annotations: "{{ openshift_builddefaults_annotations | default(None) }}" + #resources: "{{ openshift.builddefaults.resources | default(None) }}" + resources: + requests: + cpu: "{{ openshift_builddefaults_resources_requests_cpu | default(None) }}" + memory: "{{ openshift_builddefaults_resources_requests_memory | default(None) }}" + limits: + cpu: "{{ openshift_builddefaults_resources_limits_cpu | default(None) }}" + memory: "{{ openshift_builddefaults_resources_limits_memory | default(None) }}" |