Move options out of the OpenShiftMaster template

Some of the options that had been hard-coded in the openshift-master
template should be configuratble in a per-deployment bases. This patch
moves them out into an environment file instead.

Change-Id: I4b6f6180b11f36b1212b9e887365a99b6ae12017
This commit is contained in:
Flavio Percoco 2018-02-07 17:12:44 +01:00
parent 254d1dee4b
commit 5e0e06bd1b
2 changed files with 12 additions and 8 deletions

View File

@ -2,3 +2,15 @@ resource_registry:
OS::TripleO::Services::Docker: ../puppet/services/docker.yaml
OS::TripleO::Services::OpenShift::Worker: ../extraconfig/services/openshift-worker.yaml
OS::TripleO::Services::OpenShift::Master: ../extraconfig/services/openshift-master.yaml
parameter_defaults:
OpenShiftGlobalVariables:
openshift_release: '3.7'
openshift_image_tag: v3.7.1
enable_excluders: false
skip_ovs_svc_handlers: true
openshift_deployment_type: origin
openshift_docker_selinux_enabled: false
osm_etcd_image: "registry.fedoraproject.org/f27/etcd"
# NOTE(flaper87): Needed for the gate
openshift_disable_check: disk_availability,docker_storage,memory_availability,docker_image_availability

View File

@ -107,14 +107,6 @@ outputs:
containerized: true
openshift_master_cluster_method: native
openshift_use_dnsmasq: true
openshift_deployment_type: origin
openshift_release: '3.7'
openshift_image_tag: v3.7.1
enable_excluders: false
openshift_docker_selinux_enabled: false
osm_etcd_image: "registry.fedoraproject.org/f27/etcd"
# NOTE(flaper87): Needed for the gate
openshift_disable_check: disk_availability,docker_storage,memory_availability,docker_image_availability
- name: set openshift global vars fact
set_fact: