summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master_facts
Commit message (Collapse)AuthorAgeFilesLines
* Initial support for 3.10Scott Dodson2018-02-052-8/+8
|
* Move more plugins to lib_utilsMichael Gugino2018-01-106-1003/+3
| | | | | | | This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
* Remove oauth_template bits from openshift_factsMichael Gugino2017-12-211-2/+0
| | | | | This commit moves some deprecated variable logic outside of openshift_facts and into role defaults.
* Merge pull request #6469 from mgugino-upstream-stage/plugin-consolidateScott Dodson2017-12-193-2/+2
|\ | | | | Plugin consolidate
| * Relocate filter plugins to lib_utilsMichael Gugino2017-12-183-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit relocates filter_plugings to lib_utils, changes the namespacing to prevent unintended use of older versions that may be present in filter_plugins/ directory on existing installs. Add lib_utils to meta depends for roles Also consolidate some plugins into lib_utils from various other areas. Update rpm spec, obsolete plugin rpms.
* | Remove some small items from openshift_factsMichael Gugino2017-12-181-1/+0
|/ | | | | Remove some small items from openshift_facts that don't need to be there.
* Remove unneeded embedded etcd logicMichael Gugino2017-12-081-1/+0
| | | | | Removing some remaining embedded etcd facts except for the migration plays.
* Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher2017-12-052-27/+0
| | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* Fix hosted varsMichael Gugino2017-12-052-9/+2
| | | | | | Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
* Add v3.9 supportScott Dodson2017-11-304-10/+16
|
* Remove openshift_facts project_cfg_factsMichael Gugino2017-11-281-6/+0
| | | | This simplifies some variable logic.
* Remove dns_port factMichael Gugino2017-11-281-2/+0
| | | | Simply dns_port variable by remove from openshift_facts.
* Removed old version codeMichael Gugino2017-11-141-18/+5
| | | | | | This commit removes any references to versions < 1.5/3.5 We assume the version is always greater than or equal to 1.5/3.5.
* First pass at v3.8 supportScott Dodson2017-11-133-8/+12
|
* Re-add challenge auth verification to github and googleMichael Gugino2017-11-071-0/+12
| | | | | | | | | Recent commit removed these checks. These two auth providers are specifically excluded in origin, thus we should enable the checks to ensure challenge auth is not enabled for these providers. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367
* Merge pull request #6031 from abutcher/temporary-servinginfo-clientcaOpenShift Merge Robot2017-11-061-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Temporarily set master servingInfo.clientCA as client-ca-bundle.crt during rolling CA redeployment. This PR temporarily configures master `servingInfo.clientCA` as `client-ca-bundle.crt` during CA redeploy so that clients referencing the old OpenShift CA can continue to function until all cluster certificates have been replaced and `servingInfo.clientCA` is reset to `ca.crt`. `client-ca-bundle.crt` is a new bundle created by the `openshift_ca` role which contains old and new OpenShift CA certificates. https://bugzilla.redhat.com/show_bug.cgi?id=1509124 Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1493276
| * Temporarily set master servingInfo.clientCA as client-ca-bundle.crt during ↵Andrew Butcher2017-11-061-1/+1
| | | | | | | | rolling CA redeployment.
* | Fix github auth validationMichael Gugino2017-11-021-4/+2
|/ | | | | | | This commit ensures github auth validation filter works as intended. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367
* Remove unused osm_controller_lease_ttlMichael Gugino2017-10-311-1/+0
| | | | | | | This variable is no longer used and references should be removed. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1507449
* Remove incorrect validation for OpenIDIdentityProviderMichael Gugino2017-10-201-1/+0
| | | | | | | | | | | | | | Currently, OpenIDIdentityProvider does not support 'challenge=true' in openshift-ansible. This is incorrect, the auth plugin OpenIDIdentityProvider does support this. This commit removes the unnecessary validation of challenge key. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367 Fixes: https://github.com/openshift/openshift-ansible/issues/4417
* Fix broken debug_levelMichael Gugino2017-10-111-1/+0
| | | | | | | | | | | | | | | | | | | | 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
* Remove oo_option facts.Andrew Butcher2017-09-293-3/+1
|
* Merge pull request #5492 from jsafrane/local-storage-predicateOpenShift Merge Robot2017-09-252-1/+32
|\ | | | | | | | | | | | | | | | | Automatic merge from submit-queue Add 3.7 scheduler predicates In 3.7 we added NoVolumeNodeConflict and MaxAzureDiskVolumeCount predicate that needs to be installed. Check carefully, I tested it on my virtual machine, but I did not manage to run the test.
| * Add 3.7 scheduler predicatesJan Safranek2017-09-202-1/+32
| |
* | Cleanup old deployment typesMichael Gugino2017-09-201-22/+3
|/ | | | | | | | | | | Previously, openshift-ansible supported various types of deployments using the variable "openshift_deployment_type" Currently, openshift-ansible only supports two deployment types, "origin" and "openshift-enterprise". This commit removes all logic and references to deprecated deployment types.
* No conversion to boolean and no quoting for include_granted_scopes.Jan Pazdziora2017-09-151-5/+0
|
* Properly quote "true" and "false" strings for include_granted_scopes.Jan Pazdziora2017-09-111-1/+1
|
* Make native clustering the default everywhereClayton Coleman2017-08-081-1/+1
|
* Update version checks to tolerate 3.7Steve Kuznetsov2017-08-033-8/+12
| | | | Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* Merge pull request #4234 from vshn/feature/oreg_url_masternodeOpenShift Bot2017-05-261-1/+1
|\ | | | | Merged by openshift-bot
| * allow to configure oreg_url specifically for node or master. refs #4233Tobias Brunner2017-05-191-1/+1
| | | | | | | | | | | | | | | | | | This commit allows to specify imageConfig.format specifically for master or for nodes. One use case of this could be if you want to use customer builder images. In this case imageConfig.format only needs to be changed in the master-config.yml but not in the node-config.yml.
* | Merge pull request #4211 from dmsimard/github_teamsOpenShift Bot2017-05-191-1/+2
|\ \ | |/ |/| Merged by openshift-bot
| * Add teams attribute to github identity providerDavid Moreau-Simard2017-05-161-1/+2
| | | | | | | | | | | | | | | | | | GitHubIdentityProvider provides the ability to authenticate against GitHub organization teams [1]. This adds the attribute as optional so that users do not get the error "provider GitHubIdentityProvider contains unknown keys teams". [1]: https://docs.openshift.com/container-platform/3.5/install_config/configuring_authentication.html#GitHub
* | Merge pull request #3914 from rikkuness/yaml_newlineOpenShift Bot2017-05-181-0/+1
|\ \ | | | | | | Merged by openshift-bot
| * | Prevent line wrap in yaml dump of IDP, fixes #3912Darrian2017-04-121-0/+1
| | |
* | | Default image policy on new clusters to onClayton Coleman2017-05-152-1/+23
| |/ |/| | | | | Will allow for default image resolution to be used.
* | Remove vim configuration from Python filesRodolfo Carvalho2017-05-091-1/+0
| | | | | | | | | | | | | | In a project where contributors are free to use whatever editor they want and we have linting tools that verify the proper formatting of Python files, it should not be required to have a vim-specific line in Python files.
* | Don't double quote when conditionsScott Dodson2017-05-011-2/+2
| |
* | Remove jinja template delimeters from when conditionsScott Dodson2017-05-011-2/+2
| | | | | | | | | | | | In ansible 2.3 "[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_glusterfs_hosts is not defined }}"
* | Standardize all Origin versioning on 3.6Russell Teague2017-04-254-9/+11
|/
* Support unicode output when dumping yamlRussell Teague2017-04-031-7/+10
|
* Use ansible.compat.six where possibleJason DeTiberus2017-03-091-1/+5
|
* Rewrap long linesRodolfo Carvalho2017-03-062-8/+22
|
* Remove unused argumentRodolfo Carvalho2017-03-061-1/+1
| | | | Detected by pylint. The fixture indeed doesn't require an argument.
* Add ca-bundle.crt to list of certs to synchronize.Andrew Butcher2017-02-281-1/+1
|
* Prepare for origin moving to OCP version schemeClayton Coleman2017-02-234-19/+21
| | | | | | Origin 1.6 and future releases will be versioned as Origin 3.6+. This unifies a point of inconsistency and brings Origin in line with the full release history. Update version numbers to match that 3.x is preferred.
* Extract assertion common to all tests as functionRodolfo Carvalho2017-02-202-56/+24
|
* Replace nose yield-style tests w/ pytest fixturesRodolfo Carvalho2017-02-203-248/+247
|
* Make tests run with either nosetests or pytestRodolfo Carvalho2017-02-203-45/+42
| | | | | | | And remove explicit dependencies on nose, replacing with pytest. The former is the way forward, for it is a better maintained test library, and a transitive dependency of `molecule`, the test framework we're using to add integration tests to this repo (work in progress).
* Replace assert_equal with plain assertRodolfo Carvalho2017-02-202-28/+24
| | | | In the intention to remove the dependency on nose and use only pytest.