summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master_facts
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Make usage of short_version/release consistentRodolfo Carvalho2017-02-202-27/+26
| | | | | This removes irrelevant differences between the two test files, making it easier to observe similarities.
* Reorganize tests and helper functions logicallyRodolfo Carvalho2017-02-202-129/+129
| | | | | | | | This is intented to make it easier to read tests top-down. The test methods in both files are sorted somehow logically, and in the same order in both files, to help visualizing the similarities between them with diff tools.
* Remove test duplicationRodolfo Carvalho2017-02-203-80/+60
| | | | | Consolidate tests for bad input into a single file instead of having the same code in two files.
* Move similar test cases togetherRodolfo Carvalho2017-02-202-64/+64
| | | | | And reorganize them in such a way to show that there are a bunch of duplicated tests that are exactly the same.
* Insert paths in the second position of sys.pathRodolfo Carvalho2017-02-202-2/+2
| | | | | | http://stackoverflow.com/a/10097543/4804690 Additionally, avoid using platform-specific '/' and '..'.
* Rename test for consistencyRodolfo Carvalho2017-02-201-1/+1
|
* Remove dead codeRodolfo Carvalho2017-02-182-34/+0
|
* Ansible Lint cleanup and making filter/lookup plugins used by ↵Jason DeTiberus2017-02-144-6/+592
| | | | openshift_master_facts available within the role
* fixup! master: latest use same predicates as last versionGiuseppe Scrivano2017-02-081-1/+4
|
* fixup! master: latest use same priorities as last versionGiuseppe Scrivano2017-02-081-1/+4
|
* master: latest use same predicates as last versionGiuseppe Scrivano2017-02-081-1/+1
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* master: latest use same priorities as last versionGiuseppe Scrivano2017-02-081-1/+1
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Create v3_5 upgrade playbooksRussell Teague2017-01-304-47/+137
|
* Set metrics url even if metrics_deploy is falseAlberto Peon2017-01-201-3/+2
|
* add configuration for build default+overrides settingsBen Parees2017-01-161-21/+0
|
* Fix openshift_image_tag=latest.Andrew Butcher2017-01-092-4/+4
|
* Add future versions to openshift_factsClayton Coleman2017-01-043-5/+9
|
* YAML LintingRussell Teague2016-12-122-3/+2
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Merge pull request #2902 from dgoodwin/fix-metrics-urlScott Dodson2016-12-082-6/+28
|\ | | | | Fix metricsPublicURL only being set correctly on first master.
| * Fix metricsPublicURL only being set correctly on first master.Devan Goodwin2016-12-012-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem was caused by facts not being set for that master. To fix this patch cleans up the calculation of metricsPublicURL in general. Because this value is used in openshift_master to template into the master config file, we now define these facts more clearly in openshift_master_facts, and add a dependency on this to openshift_metrics. The calculation of default sub-domain is also changed to remove it from system facts (as neither of these are facts about the system) and instead use plain variables.
* | Remove Hostname from 1.1 and 1.2 predicatesJason DeTiberus2016-12-072-3/+0
| |
* | Properly handle x.y.z formatted versions for openshift_releaseJason DeTiberus2016-12-074-0/+12
| |
* | Handle updating of scheduler config during upgradeJason DeTiberus2016-12-064-253/+386
| | | | | | | | | | | | | | | | | | | | | | - do not upgrade predicates if openshift_master_scheduler_predicates is defined - do not upgrade priorities if openshift_master_scheduler_priorities is defined - do not upgrade predicates/priorities unless they match known previous default configs - output WARNING to user if predictes/priorities are not updated during install
* | Merge pull request #2920 from detiber/schedulerVarFixAndrew Butcher2016-12-051-18/+10
|\ \ | | | | | | Scheduler var fix
| * | Update scheduler predicate/priorities varsJason DeTiberus2016-12-011-18/+10
| |/ | | | | | | | | | | - Introduce additional variables for current scheduler config and default values to better determine if the values we are getting are user-defined, coming from config or are the default values.
* | Conditionalize master config update for admission_plugin_config.Andrew Butcher2016-12-051-0/+2
|/
* refactor handling of scheduler defaultsJason DeTiberus2016-11-296-2/+561
|