Browse Source

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
changes/74/541774/2
Flavio Percoco 4 years ago
parent
commit
5e0e06bd1b
  1. 12
      environments/openshift.yaml
  2. 8
      extraconfig/services/openshift-master.yaml

12
environments/openshift.yaml

@ -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

8
extraconfig/services/openshift-master.yaml

@ -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:

Loading…
Cancel
Save