summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted
Commit message (Collapse)AuthorAgeFilesLines
* 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-222-4/+4
|
* Added Docker Registry Port 5000 to FirewalldVincent Schwarzer2017-05-182-0/+10
|
* GlusterFS: Allow swapping an existing registry's backend storageJose A. Rivera2017-05-043-1/+42
| | | | 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-242-10/+10
|
* 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-042-1/+28
|
* 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-293-0/+3
|
* Setting defaults on openshift_hosted.Kenny Woodson2017-03-221-3/+3
|
* acceptschema2 default: trueAaron Weitekamp2017-03-201-1/+1
| | | | Signed-off-by: Aaron Weitekamp <aweiteka@redhat.com>
* Moving projects task within openshift_hostedRussell Teague2017-03-173-2/+17
|
* Fix get_router_replicas infrastructure node count.Andrew Butcher2017-03-161-3/+10
|
* Add router svcacct cluster-reader roleRussell Teague2017-03-141-0/+9
|
* Refactor and remove openshift_serviceaccountRussell Teague2017-03-133-18/+29
|
* Added ports.Kenny Woodson2017-03-022-0/+6
|
* Fixed router name to produce 2nd router.Kenny Woodson2017-03-021-1/+1
|
* Updated to work with an array of routers.Kenny Woodson2017-03-022-61/+19
|
* Adding support for router sharding.Kenny Woodson2017-03-022-61/+90
|
* 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-272-1/+36
|
* openshift_hosted: Update tasks to use oc_ modulesRussell Teague2017-02-249-414/+274
|
* CloudFront oc_secret contents should be a listSteve Milner2017-02-221-2/+2
| | | | | Fixes "argument contents is of type <type 'dict'> and we were unable to convert to list"
* Merge pull request #3340 from etsauer/scale-routerScott Dodson2017-02-201-0/+24
|\ | | | | Making router pods scale with infra nodes
| * Removing trailing spacesEric Sauer2017-02-131-2/+2
| |
| * Making router pods scale with infra nodesEric Sauer2017-02-101-0/+24
| |
* | Register cloudfront privkey when requiredSteve Milner2017-02-163-11/+25
| |