summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/templates/native-cluster/atomic-openshift-master-api.j2
Commit message (Collapse)AuthorAgeFilesLines
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-1/+1
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Fix broken debug_levelMichael Gugino2017-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | Currently, debug_level is documented as a way to change the debug output level for both masters and nodes. debug_level does not currently have any effect. This commit removes debug_level from openshift_facts and properly sets openshift_master_debug_level and openshift_node_debug_level to the value of debug_level specified in the inventory. This commit also reorganizes some set_fact tasks needed during master upgrades to put all work-around set-facts for undefined variables in one place, allowing for easier cleanup in the future. This includes an entry for openshift_master_debug_level. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500164
* Use existing OPENSHIFT_DEFAULT_REGISTRY setting during masters scaleupTim Bielawa2017-07-281-1/+4
| | | | | | | | | | | | | | | Fixes a bug which reported that AFTER a cluster upgrade from OCP 3.5 to 3.6, any masters which are later added via the scaleup playbooks are setting a value for OPENSHIFT_DEFAULT_REGISTRY which is inconsistent with the already configured masters. * OPENSHIFT_DEFAULT_REGISTRY value is saved from oo_first_master * The new scaleup master has a fact set noting it is a scaleup host * The saved OPENSHIFT_DEFAULT_REGISTRY value is used instead of the default for 3.6, which is to use a hard-coded registry value of 'docker-registry.default.svc:5000' Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1469336
* Also configure default registry on HA mastersScott Dodson2017-06-231-0/+3
| | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1463498
* Comma separate no_proxy host list in openshift_facts so that it appears as a ↵Andrew Butcher2017-01-251-1/+1
| | | | string everywhere it is used.
* Don't use openshift_env for cloud provider facts.Andrew Butcher2016-08-251-3/+3
|
* Merge branch 'master' into upgrade33Devan Goodwin2016-06-281-0/+6
|\
| * Add per-service environment variables.Andrew Butcher2016-06-131-0/+6
| |
* | Always populate openshift_image_tag and openshift_pkg_version.Devan Goodwin2016-06-151-1/+1
| | | | | | | | | | Allows the use of arbitrary tags, precise control over containers and rpms, and likely mixed environments.
* | Add leading v for remaining IMAGE_VERSION templates.Devan Goodwin2016-05-301-1/+1
|/
* Fix mistaken quotes on proxy sysconfig variables.Devan Goodwin2016-05-121-3/+3
| | | | Only need double quotes if preserving whitespace, and never singles.
* Don't set empty HTTP_PROXY, HTTPS_PROXY, NO_PROXY valuesScott Dodson2016-04-261-5/+5
|
* Access portal_net in common facts.Andrew Butcher2016-04-261-1/+1
|
* Add global proxy configurationScott Dodson2016-04-221-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Configures HTTP_PROXY, HTTPS_PROXY, NO_PROXY for master and docker services. Configugres BuildDefaults Admission controller for master to automatically insert proxy environment configuration into build environments. To use set at least these variables - openshift_http_proxy - openshift_https_proxy NO_PROXY entries will automatically be configured for hostnames of all openshift hosts. You may specify additional NO_PROXY hosts or patterns by setting `openshift_no_proxy` If you wish to disable automatic generation of NO_PROXY hosts you may set `openshift_generate_no_proxy_hosts` to False. If you wish to have different builddefaults proxy configuration than baseline proxy configuration set these variables - openshift_builddefaults_http_proxy - openshift_builddefaults_https_proxy - openshift_builddefaults_no_proxy - openshift_builddefaults_git_http_proxy - openshift_builddefaults_git_https_proxy
* Check for kind in cloudprovider facts prior to accessing.Andrew Butcher2016-04-041-1/+1
|
* Add AWS cloud provider support.Andrew Butcher2016-03-291-0/+5
|
* Ensure is_containerized is cast as bool.Andrew Butcher2016-03-141-1/+1
|
* Support openshift_image_tagBrenton Leanhardt2016-03-071-1/+1
| | | | | | | | | | | | | This is the containerized openshift_pkg_version equivalent. Originally I was hoping to reuse openshift_pkg_version for containerized installs but the fact that it's very coupled to yum made that pretty ugly. However, I did opt to rely on the previously existing 'openshift_version' variable. Containerized and RPM installs can both use that variable and it will be set appropriately if either openshift_pkg_version or openshift_image_tag are set. I suspect someday containerized installs will be the only option and I didn't can to have thinkgs like openshift_pkg_version and openshift_image_tag in the playbooks anymore the necessary.
* Correctly set the image tag for containerized installs (and upgrades)Brenton Leanhardt2016-03-031-0/+3
|
* Fix native master api sysconfig.Andrew Butcher2016-01-201-1/+1
|
* Use local address for loopback kubeconfigJason DeTiberus2016-01-141-1/+1
|
* consolidate steps and cleanup template dirJason DeTiberus2016-01-141-0/+9