summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/templates/atomic-openshift-master.j2
Commit message (Collapse)AuthorAgeFilesLines
* Avoid undefined variable in master sysconfig templateMichael Hanselmann2017-10-191-1/+1
| | | | | | | | | | | When "openshift_master_controllers_env_vars" is set, but "openshift_master_api_env_vars" isn't, the template for the sysconfig file of atomic-openshift-master fails: AnsibleUndefinedVariable: 'dict object' has no attribute 'api_env_vars' Avoid this issue by applying "default({})" to the dict and always calling ".items()".
* 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
* Update atomic-openshift-master.j2Scott Dodson2017-06-191-1/+1
|
* Enable push to registry via dns only on clean 3.6 installsScott Dodson2017-06-181-1/+1
| | | | | We cannot assume that 3.5 to 3.6 upgrades were signed with the correct certs
* Disable actually pushing to the registry via dns for nowScott Dodson2017-06-181-1/+1
| | | | | | | We need to sort out how to know that the registry certificate has the proper hostnames attached to it. It will for 3.6 clean installs but not for 3.5 to 3.6 upgrades. For now make it opt in and come back to this.
* Push to the registry via dnsScott Dodson2017-06-181-0/+3
| | | | | | Configures OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc Adds 'cluster.local' to dns search on nodes via dispatcher script Adds '.svc' to NO_PROXY defaults
* 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.
* Prevent useless master by reworking template for master service enf fileJawed khelil2016-11-021-0/+10
|
* set defaults for debug_level in template and taskJustin Cook2016-10-111-1/+1
|
* 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.
* | Complete installation of first master containerized.Devan Goodwin2016-05-251-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-6/+5
|
* Access portal_net in common facts.Andrew Butcher2016-04-261-1/+1
|
* Add global proxy configurationScott Dodson2016-04-221-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* consolidate steps and cleanup template dirJason DeTiberus2016-01-141-0/+9