summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Updated README to reflect refactor. Moved firewall initialize into separate ↵Kenny Woodson2017-08-102-4/+4
| | | | file.
* Adding a default condition and removing unneeded defaults.Kenny Woodson2017-08-092-8/+8
|
* First attempt at refactor of os_firewallKenny Woodson2017-08-084-2/+89
|
* Merge pull request #4693 from enoodle/create_router_certificate_by_defaultScott Dodson2017-07-261-3/+3
|\ | | | | Router wildcard certificate created by default
| * add default value for router path in the certErez Freiberger2017-07-251-2/+2
| |
| * Router wildcard certificate created by defaultErez Freiberger2017-07-251-1/+1
| |
* | hosted registry: Use proper node name in GlusterFS storage setupJose A. Rivera2017-07-141-1/+1
|/ | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Set OPENSHIFT_DEFAULT_REGISTRY in registry dc.Andrew Butcher2017-06-301-0/+5
|
* registry: look for the oc executable in /usr/local/bin and ~/binGiuseppe Scrivano2017-06-271-2/+2
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* router: look for the oc executable in /usr/local/bin and ~/binGiuseppe Scrivano2017-06-261-3/+3
| | | | | | Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1463131 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #4484 from jarrpa/glusterfs-fixes-tooOpenShift Bot2017-06-191-1/+1
|\ | | | | Merged by openshift-bot
| * registry: mount GlusterFS storage volume from correct hostJose A. Rivera2017-06-161-1/+1
| | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | Make rollout status check best-effort, add pollSteve Kuznetsov2017-06-132-2/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We cannot rely on the `watch.Until` call in the `rollout status` subcommand for the time being, so we need to ignore the result of this call. This will make the rollout status check best-effort, so we need to follow it with a poll for the actual status of the rollout, which we can extract from the `openshift.io/deployment.phase` annotation on the ReplicationControllers. This annotation can have only three values -- `Running`, `Complete` and `Failed`. If we poll on this attribute until we stop seeing `Running`, we can then inspect the last result for `Failed`; if it's present, we have failed the deployment. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* | Verify the rollout status of the hosted router and registrySteve Kuznetsov2017-06-092-14/+12
|/ | | | | | | | | | | | | | When deploying the hosted router and registry components, we need to ensure that they correctly roll out. The previous checks were weak in that they either simply waited for a set amount of time and/or did one replica check. They would fail if the router or registry took longer to deploy or if there were un-ready or failing replicas. The `oc rollout` command group contains the `status` endpoint for internalizing all of the logic for determining when a rollout has succeeded or failed, so simply using this client call will ensure that the router and registry correctly deploy. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* Remove supported/implemented barrier for registry object storage providers.Andrew Butcher2017-06-061-16/+0
|
* boolScott Dodson2017-05-261-2/+2
|
* Removing requirement to pass aws credentialsEric Sauer2017-05-221-4/+0
|
* GlusterFS: Allow swapping an existing registry's backend storageJose A. Rivera2017-05-042-1/+34
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* hosted_registry: Get correct pod selector for GlusterFS storageJose A. Rivera2017-05-041-1/+9
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* hosted registry: Fix typoJose A. Rivera2017-05-041-1/+1
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Replace original router cert variable names.Andrew Butcher2017-04-241-8/+8
|
* Allow for GlusterFS to provide registry storageJose A. Rivera2017-04-102-1/+56
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Adding signed router cert and fixing server_cert bug.Kenny Woodson2017-04-041-0/+26
|
* Add docker-registry.default.svc short name to registry service signingScott Dodson2017-04-031-1/+2
|
* openshift_hosted: add openshift_hosted_registry_cert_expire_days parameter.Slava Semushin2017-03-291-0/+1
|
* Moving projects task within openshift_hostedRussell Teague2017-03-171-0/+7
|
* Add router svcacct cluster-reader roleRussell Teague2017-03-141-0/+9
|
* Refactor and remove openshift_serviceaccountRussell Teague2017-03-132-2/+29
|
* Added ports.Kenny Woodson2017-03-021-0/+2
|
* Fixed router name to produce 2nd router.Kenny Woodson2017-03-021-1/+1
|
* Updated to work with an array of routers.Kenny Woodson2017-03-021-60/+16
|
* Adding support for router sharding.Kenny Woodson2017-03-021-61/+68
|
* Add oc_adm_policy_user task cluster-role policyRussell Teague2017-03-021-0/+7
|
* Correct config for hosted registryRussell Teague2017-03-021-1/+2
|
* Fixed error handling when oc adm ca create-server-cert fails. Fixed a logic ↵Kenny Woodson2017-03-011-1/+1
| | | | error in secure.
* Merge pull request #3493 from kwoodson/registry_reencyrpt_routeScott Dodson2017-03-012-2/+33
|\ | | | | Adding support for a route with reencrypt and certificates.
| * removing extra when conditionKenny Woodson2017-03-011-1/+0
| |
| * Removing run_once.Kenny Woodson2017-03-011-4/+0
| |
| * Adding the activeDeadlineSeconds. Removed debug.Kenny Woodson2017-03-012-11/+3
| |
| * Separating routes so logic is simpler.Kenny Woodson2017-03-011-6/+30
| |
| * Defaulting variables properly to avoid undefined route in dict error.Kenny Woodson2017-03-012-17/+16
| |
| * Removed duplicate host param.Kenny Woodson2017-02-281-1/+0
| |
| * Modified base debug statements. Fixed oc_secret debug/verbose flag. Added ↵Kenny Woodson2017-02-283-20/+8
| | | | | | | | reencrypt for route.
| * Adding support for a route with certs and reencrypt.Kenny Woodson2017-02-282-1/+35
| |
* | Merge pull request #3515 from mtnbikenc/registry-pvc-fixRussell Teague2017-02-281-2/+3
|\ \ | |/ |/| BZ1427009: Correct fact creation for pvc
| * Correct fact creation for pvcRussell Teague2017-02-271-2/+3
| |
* | Merge pull request #3512 from mtnbikenc/hosted-registry-serviceScott Dodson2017-02-271-0/+13
|\ \ | | | | | | BZ1427040: Create hosted registry service
| * | Create hosted registry serviceRussell Teague2017-02-271-0/+13
| |/
* | Make s3_volume_mount available to set_fact callSteve Milner2017-02-271-2/+3
|/ | | | | | 7cf5cc14 cleaned up how the registry was being created. However the s3 cloudfront calls ended up setting and using a fact in the same block. This change makes s3_volume_mount available to the set_fact.
* Moving replica logic to filter_plugin to fix skipped task variable behavior.Kenny Woodson2017-02-271-1/+1
|