summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
Commit message (Collapse)AuthorAgeFilesLines
* Set openshift_version in config playbooks for first master.Devan Goodwin2016-05-251-0/+2
| | | | | | | Starting to remove openshift.docker.openshift_version fact usage. openshift_version should no longer contain a leading 'v' for containerized installs, just a version number.
* Debug output.Devan Goodwin2016-05-251-0/+2
|
* Extend multiple login provider check to include origin.Andrew Butcher2016-05-231-1/+1
|
* Allow multiple login providers post 3.2.Andrew Butcher2016-05-231-1/+1
|
* Allow overriding servingInfo.maxRequestsInFlight via ↵Andrew Butcher2016-05-131-1/+1
| | | | openshift_master_max_requests_inflight.
* Merge pull request #1885 from dgoodwin/proxy-quotesJason DeTiberus2016-05-123-9/+9
|\ | | | | Fix mistaken quotes on proxy sysconfig variables.
| * Fix mistaken quotes on proxy sysconfig variables.Devan Goodwin2016-05-123-9/+9
| | | | | | | | Only need double quotes if preserving whitespace, and never singles.
* | Remove old unused firewall rulesScott Dodson2016-05-111-5/+0
| |
* | Fix firewall rulesScott Dodson2016-05-112-36/+27
|/
* Merge tag 'openshift-ansible-3.0.88-1'Brenton Leanhardt2016-05-061-0/+8
|\ | | | | | | Tagging package [openshift-ansible] version [3.0.88-1] in directory [./].
| * Open port 53 whenever we're unsure of versionScott Dodson2016-05-061-0/+8
| |
* | Cleanup various deprecation warnings.Andrew Butcher2016-04-291-9/+9
|/
* Merge pull request #1812 from sdodson/issue1759Jason DeTiberus2016-04-271-0/+2
|\ | | | | Add masterConfig.volumeConfig.dynamicProvisioningEnabled
| * Add masterConfig.volumeConfig.dynamicProvisioningEnabledScott Dodson2016-04-261-0/+2
| |
* | Don't set empty HTTP_PROXY, HTTPS_PROXY, NO_PROXY valuesScott Dodson2016-04-263-16/+15
| |
* | Merge pull request #1809 from abutcher/portal-netJason DeTiberus2016-04-263-3/+3
|\ \ | |/ |/| BZ 1330357: Fail to deploy pod after installing env with openshift_master_portal_net='172.31.0.0/16'
| * Access portal_net in common facts.Andrew Butcher2016-04-263-3/+3
| |
* | Add support for setting identity provider custom valuesJason DeTiberus2016-04-252-3/+35
|/ | | | | | | - htpasswd users - ldap ca file - openid ca file - request_header ca file
* Add global proxy configurationScott Dodson2016-04-224-15/+32
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add openshift_node_dnsmasqScott Dodson2016-04-191-4/+4
|
* Promote portal_net to openshift.common, add kube_svc_ipScott Dodson2016-04-191-2/+2
| | | | | Conflicts: roles/openshift_facts/library/openshift_facts.py
* The openshift_docker role must set the version facts for containerized installsBrenton Leanhardt2016-04-141-1/+1
| | | | | | QE found that for fresh installs we were basing the docker version facts of the images that could be pulled prior to configuring /etc/sysconfig/docker. This is an edge case but something we need to fix.
* Merge pull request #1738 from dgoodwin/image-policy-configBrenton Leanhardt2016-04-131-0/+3
|\ | | | | Support setting imagePolicyConfig JSON in inventory.
| * Support setting imagePolicyConfig JSON in inventory.Devan Goodwin2016-04-121-0/+3
| | | | | | | | | | | | | | | | | | For flexibility this is another pure JSON field to translate directly to yaml in the master config. Also updated to more safely handle JSON inventory variables as this uncovered a bug with booleans where you end up with a string containing json in your yaml.
* | Merge pull request #1744 from smunilla/BZ1323918Brenton Leanhardt2016-04-121-1/+1
|\ \ | | | | | | Convert image_tag on masters
| * | Convert image_tag on mastersSamuel Munilla2016-04-121-1/+1
| | | | | | | | | | | | Also convert openshift_image_tag to and rpm versions for masters.
* | | Fixing non-HA master restart conditionalBrenton Leanhardt2016-04-121-1/+1
| | |
* | | use RestartSec to avoid default rate limit in systemdBrenton Leanhardt2016-04-125-0/+5
| | | | | | | | | | | | Lifted from https://github.com/openshift/origin/pull/8317
* | | Containerized installs on RHEL were downgrading docker unnecessarilyBrenton Leanhardt2016-04-121-2/+2
|/ /
* / Add openshift_hosted_facts role and remove hosted facts from openshift_common.Andrew Butcher2016-04-081-0/+1
|/
* Merge pull request #1722 from abutcher/containerized-cloudproviderBrenton Leanhardt2016-04-073-3/+3
|\ | | | | Add cloudprovider config dir to docker options.
| * Add cloudprovider config dir to docker options.Andrew Butcher2016-04-063-3/+3
| |
* | Merge pull request #1699 from abutcher/check-cloudprovider-kindBrenton Leanhardt2016-04-063-3/+3
|\ \ | | | | | | Check for kind in cloudprovider facts prior to accessing.
| * | Check for kind in cloudprovider facts prior to accessing.Andrew Butcher2016-04-043-3/+3
| | |
* | | Merge pull request #1660 from dgoodwin/admission-configBrenton Leanhardt2016-04-061-3/+19
|\ \ \ | |_|/ |/| | Add support for templating master admissionConfig.
| * | Add support for configuring oauth templates.Devan Goodwin2016-04-011-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow users who wish to deploy configs with ansible to define templates for oauth screens, and control the alwaysShowProviderSelection setting. There are currently three supported oauth templates, and we have a pre-existing 'oauth_template' variable, but it is assumed to mean you are controlling the 'login' screen, and this is the only one you can configure. To work around this, supporting all current and future templates, introduce a pluralized variable 'oauth_templates', which contains a JSON dict allowing the admin to control any template they wish. If both new and old variables are defined, the old one is ignored. (and can be considered deprecated) Internally the old value will be converted to the new dict, so the template just references one value. Example: openshift_master_oauth_always_show_provider_selection=true openshift_master_oauth_templates={"providerSelection": "provider-selection.html", "error": "oauth-error.html"} Yeilds: oauthConfig: alwaysShowProviderSelection: true templates: error: oauth-error.html providerSelection: provider-selection.html
| * | Add support for templating master admissionConfig.Devan Goodwin2016-04-011-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds four new inventory variables for setting sections in "admissionConfig" and "kubernetesMasterConfig.admissionConfig". openshift_master_admission_plugin_order allows configuring the list of origin admission controller plugins to enable and what order to run them in. This must be a JSON formatted list of strings: openshift_master_admission_plugin_order=["RunOnceDuration", "NamespaceLifecycle", "OriginPodNodeEnvironment", "ClusterResourceOverride", "LimitRanger", "ServiceAccount", "SecurityContextConstraint", "ResourceQuota", "SCCExecRestrictions"] openshift_master_kube_admission_plugin_order is identical but for the kubernetes admission controller plugins which appear beneath kubernetesMasterConfig. openshift_master_admission_plugin_config allows setting free-form configuration stanzas that match up with enabled admission controller plugins. This must be a JSON formatted hash: openshift_master_admission_plugin_config={"RunOnceDuration":{"configuration":{"apiVersion":"v1","kind":"RunOnceDurationConfig","activeDeadlineSecondsOverride":3600}},"ClusterResourceOverride":{"configuration":{"apiVersion":"v1","kind":"ClusterResourceOverrideConfig","limitCPUToMemoryPercent":200,"cpuRequestToLimitPercent":6,"memoryRequestToLimitPercent":60}}} openshift_master_kube_admission_plugin_config is the equivalent for kubernetes admission controller plugins. Contains a change to merge_facts to fix issues with modifying inventory variables that contain JSON dicts. If you modified a previously set variable, the result would be a merge of old and new, which is completely wrong in this case. Addded new overwrite_facts to shortcut to just taking the new values. This differs from the pre-existing concept of "protected" in that we're not protecting an old value, we're trashing it and taking the new.
* | Merge pull request #1695 from brenton/bz1323123Brenton Leanhardt2016-04-062-1/+2
|\ \ | | | | | | Fixing bugs 1322788 and 1323123
| * | Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api ↵Brenton Leanhardt2016-04-012-1/+2
| |/ | | | | | | and atomic-openshift-master-controllers
* / Downgrade to docker 1.8.2 if installing OSE < 3.2Scott Dodson2016-04-051-0/+1
|/
* Allow for overriding scheduler configJason DeTiberus2016-03-313-17/+8
| | | | | | | | | - introduce openshift_master_scheduler_predicates and openshift_master_scheduler_priorities to override the default scheduler predicates and priorities - switch default scheduler priorities to use SelectorSpreadPriority instead of ServiceSpreadingPriority
* Bug 1320829 - Ensure docker installed for factsJason DeTiberus2016-03-312-65/+1
| | | | | | - gather facts requiring docker only if docker is present and running - Update reference to etcd role in playbooks/common/openshift-etcd/config.yml to use openshift_etcd
* Add AWS cloud provider support.Andrew Butcher2016-03-294-0/+16
|
* The systemd unit for atomic-openshift-master wasn't not being createdBrenton Leanhardt2016-03-291-6/+16
|
* Use openshift.master.ha instead of duplicating the logicBrenton Leanhardt2016-03-292-7/+7
|
* First pass at systemd unit refactorBrenton Leanhardt2016-03-293-58/+61
|
* make docker service want ose containerized servicesSeth Jennings2016-03-283-3/+3
| | | | | | | | | | | | | | | | There are points where the docker service is restarted during the install. Sometimes the services that are PartOf docker.service do not get restarted when docker is restarted. https://bugzilla.redhat.com/show_bug.cgi?id=1318948 Systemd documentation recommends using "wants" as the perferred means of creating startup linkages between units. This patch makes the ose services wanted by the docker service rather than multi-user.target. This creates a downward link from the docker service to the ose containerized services.
* Load environment files in containerized installsScott Dodson2016-03-163-3/+3
|
* Provide cacert when performing health checksAndrew Butcher2016-03-152-2/+4
|
* perform oc client config tasks only once when ansible_ssh_user is rootJason DeTiberus2016-03-151-9/+6
|