diff options
author | ewolinetz <ewolinet@redhat.com> | 2017-07-12 14:32:50 -0500 |
---|---|---|
committer | ewolinetz <ewolinet@redhat.com> | 2017-07-12 14:34:56 -0500 |
commit | 64767cee27d528cee5c72d40020839e27707210d (patch) | |
tree | 14cb00f8b2f169de9b46db5d1adf01efc9a186fe | |
parent | b8ef94327640a65e36750c1385dc54256b77f318 (diff) | |
download | openshift-64767cee27d528cee5c72d40020839e27707210d.tar.gz openshift-64767cee27d528cee5c72d40020839e27707210d.tar.bz2 openshift-64767cee27d528cee5c72d40020839e27707210d.tar.xz openshift-64767cee27d528cee5c72d40020839e27707210d.zip |
Created js file for enabling tech preview for console, updated master-config for pod presets and console tech preview
-rw-r--r-- | roles/openshift_service_catalog/files/openshift-ansible-catalog-console.js | 2 | ||||
-rw-r--r-- | roles/openshift_service_catalog/tasks/wire_aggregator.yml | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_service_catalog/files/openshift-ansible-catalog-console.js b/roles/openshift_service_catalog/files/openshift-ansible-catalog-console.js new file mode 100644 index 000000000..1f25cc39f --- /dev/null +++ b/roles/openshift_service_catalog/files/openshift-ansible-catalog-console.js @@ -0,0 +1,2 @@ +window.OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE.service_catalog_landing_page = true; +window.OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE.pod_presets = true; diff --git a/roles/openshift_service_catalog/tasks/wire_aggregator.yml b/roles/openshift_service_catalog/tasks/wire_aggregator.yml index cbb29e623..55e68dc00 100644 --- a/roles/openshift_service_catalog/tasks/wire_aggregator.yml +++ b/roles/openshift_service_catalog/tasks/wire_aggregator.yml @@ -119,6 +119,11 @@ when: - not front_proxy_kubeconfig.stat.exists +- name: copy tech preview extension file for service console UI + copy: + src: openshift-ansible-catalog-console.js + dest: /etc/origin/master/openshift-ansible-catalog-console.js + - name: Update master config yedit: state: present @@ -138,6 +143,10 @@ value: [X-Remote-Group] - key: authConfig.requestHeader.extraHeaderPrefixes value: [X-Remote-Extra-] + - key: assetConfig.extensionScripts + value: [/etc/origin/master/openshift-ansible-catalog-console.js] + - key: kubernetesMasterConfig.apiServerArguments.runtime-config + value: [apis/settings.k8s.io/v1alpha1=true] register: yedit_output #restart master serially here |