summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted
Commit message (Collapse)AuthorAgeFilesLines
* Move role dependencies out of playbooks for openshift_master, openshift_node ↵Andrew Butcher2017-01-091-1/+20
| | | | and openshift_hosted.
* Re-add when condition which was removed mistakenly in #3036Maciej Szulik2017-01-051-0/+1
|
* Fix jsonpath expected output when checking registry volume secretsMaciej Szulik2017-01-051-6/+5
| | | | | | In k8s 1.5 (see rebase PR: origin 12143) jsonpath output is slightly different than previously. Causing this line to fail. We need to pick secret or secretName when checking this task failure condition.
* 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.
* Merge pull request #2624 from abutcher/rm-hosted-registry-object-storage-varsScott Dodson2016-10-211-42/+42
|\ | | | | Reference full vars for registry object storage.
| * Reference full vars for registry object storage.Andrew Butcher2016-10-181-42/+42
| |
* | 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.
* formatting updates in templateTobias Brunner2016-10-141-1/+1
|
* adjustments in docs and j2 templateTobias Brunner2016-10-121-2/+2
|
* add regionendpoint parameter for registry s3Tobias Brunner2016-10-121-0/+3
|
* 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
|
* Merge pull request #2475 from smunilla/registry_all_the_timeScott Dodson2016-09-302-9/+49
|\ | | | | Install Registry by Default
| * 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.
* | Enable registry support for image pruningAndrew Lau2016-09-301-0/+2
|/
* Add openshift_hosted_router_nameAndrew Lau2016-09-222-0/+5
|
* Add acceptschema2 and enforcequota settings for hosted registryAndrew Lau2016-09-101-0/+2
|
* Merge pull request #2428 from abutcher/s3-rootdirectoryScott Dodson2016-09-091-1/+1
|\ | | | | Bug 1367284 - rootdirectory configuration is hardcode when installer is using s3 as registry storage
| * Add option for specifying s3 registry storage root directory.Andrew Butcher2016-09-091-1/+1
| |
* | 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
|
* Fix padding on registry configScott Dodson2016-08-171-1/+1
|
* Restrict the middleware stanza contains 'registry' and 'storage' at least on 3.3Gan Huang2016-08-101-1/+3
|
* docker-registry's middleware stanza should contain 'registry' and 'storage' ↵Gan Huang2016-08-101-0/+5
| | | | by default
* 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
|
* Move role dependencies to playbooks.Andrew Butcher2016-07-291-24/+1
|
* 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.
* Merge pull request #2144 from abutcher/registry-replicasScott Dodson2016-07-131-1/+1
|\ | | | | Set registry replicas = 1 when no storage specified.
| * Set registry replicas = 1 when no storage specified.Andrew Butcher2016-07-121-1/+1
| |
* | Enable pullthrough by default in registry config for object storage.Andrew Butcher2016-07-111-0/+2
|/
* Various hosted component improvementsAndrew Butcher2016-07-0713-76/+391
| | | | | | | | | | | | | * [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-116-0/+140
* 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".