summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks
Commit message (Collapse)AuthorAgeFilesLines
* YAML LintingRussell Teague2016-12-121-0/+1
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Fix metricsPublicURL only being set correctly on first master.Devan Goodwin2016-12-011-1/+1
| | | | | | | | | | | | | 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.
* Default hosted_registry_insecure true when insecure registry present in ↵Andrew Butcher2016-10-261-1/+1
| | | | existing /etc/sysconfig/docker.
* Switch from "oadm" to "oc adm" and fix bug in binary sync.Devan Goodwin2016-10-193-4/+4
| | | | | | | | Found bug syncing binaries to containerized hosts where if a symlink was pre-existing, but pointing to the wrong destination, it would not be corrected. Switched to using oc adm instead of oadm.
* Fix config and namespace for registry volume detectionScott Dodson2016-10-101-2/+9
|
* Don't secure registry or deploy registry console when infra replics == 0Andrew Butcher2016-10-041-0/+1
|
* Secure registry improvements.Andrew Butcher2016-09-292-9/+49
| | | | | | * Convert oc template calls to jsonpath. * Wait for deployments to finish before restarting docker. * Re-organize node ca configuration.
* Add openshift_hosted_router_nameAndrew Lau2016-09-221-0/+4
|
* Set config/namespace where missing for secure registry deployment.Andrew Butcher2016-09-091-0/+4
|
* Secure registry for atomic registry deployment (deployment_subtype=registry).Andrew Butcher2016-09-022-1/+90
|
* Fix registry volumeScott Dodson2016-08-241-1/+2
|
* Move storage includes up to main.Andrew Butcher2016-08-081-0/+2
|
* Add knobs for disabling router/registry management.Andrew Butcher2016-08-031-0/+3
|
* Rename router and registry node list variables.Andrew Butcher2016-08-022-4/+4
|
* Fix registry/router being created despite no infra nodes.Devan Goodwin2016-07-272-4/+21
| | | | | | Fix a bug with determining the correct number of replicas to use, and guarding the creation of the router/registry on whether or not replicas is > 0.
* Default nodes matching selectors when not collected.Andrew Butcher2016-07-212-2/+2
|
* Secure router only when openshift.hosted.router.certificate.contents exists.Andrew Butcher2016-07-191-2/+2
|
* Merge pull request #2173 from abutcher/warningsAndrew Butcher2016-07-191-3/+8
|\ | | | | Resolve some deprecation warnings.
| * Resolve some deprecation warnings.Andrew Butcher2016-07-181-3/+8
| |
* | Temporarily link registry config templates for ansible 1.9.x support.Andrew Butcher2016-07-182-0/+2
| |
* | Remove relative lookup for registry config and check for skipped update in ↵Andrew Butcher2016-07-181-3/+3
|/ | | | registry redeploy conditional.
* Set registry replicas = 1 when no storage specified.Andrew Butcher2016-07-121-1/+1
|
* Various hosted component improvementsAndrew Butcher2016-07-077-66/+274
| | | | | | | | | | | | | * [openshift_projects] Add openshift_projects role * [openshift_hosted] hosted deployments use openshift_hosted_infra_selector if openshift_hosted_<component>_selector is not defined * [openshift_hosted] move openshift_projects, openshift_serviceaccounts and openshift_metrics to dependencies of openshift_hosted * [router] improve router deployment - add router option to force subdomain - add CA to router certificate options * [registry] move registry config into openshift_hosted role - additional registry fixes/tweaks - add s3 storage support for registry * [serviceaccount] fix up serviceaccount creation
* Fix router selector fact migration and match multiple selectors when ↵Andrew Butcher2016-04-201-0/+1
| | | | counting nodes.
* Add support for creating secure router.Andrew Butcher2016-04-112-0/+67
* Move openshift_router to openshift_hosted role which will eventually contain registry, metrics and logging. * Adds option for specifying an openshift_hosted_router_certificate cert and key pair. * Removes dependency on node label variables and retrieves the node list from the API s.t. this role can be applied to any cluster with existing nodes. I've added an openshift_hosted playbook that occurs after node install to account for this. * Infrastructure nodes are selected using openshift_hosted_router_selector which is based on deployment type by default; openshift-enterprise -> "region=infra" and online -> "type=infra".