Browse Source

Adding the activeDeadlineSeconds. Removed debug.

Kenny Woodson 8 years ago
parent
commit
efd4350d91

+ 0 - 11
roles/openshift_hosted/tasks/registry/secure.yml

@@ -4,14 +4,6 @@
     docker_registry_route_hostname: "{{ 'docker-registry-default.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true)) }}"
   run_once: true
 
-- debug: var=openshift_hosted_registry_routecertificates
-
-- debug:
-    msg: "{{ ('cafile' in openshift_hosted_registry_routecertificates) }}"
-
-- debug:
-    msg: "{{ ('cafile' in openshift_hosted_registry_routecertificates) | ternary('THIS IS TRUE', 'THIS IS FALSE') }}"
-
 - name: Get the certificate contents for registry
   copy:
     backup: True
@@ -40,9 +32,6 @@
   - "'certfile' in openshift_hosted_registry_routecertificates"
   - "'keyfile' in openshift_hosted_registry_routecertificates"
 
-- debug:
-    msg: "{{ openshift_hosted_registry_routehost | default(docker_registry_route_hostname) }}"
-
 # When routetermination is passthrough we will create the route
 - name: Create passthrough route for docker-registry
   oc_route:

+ 3 - 0
roles/openshift_hosted/tasks/router/router.yml

@@ -71,6 +71,9 @@
     - key: spec.strategy.rollingParams.updatePeriodSeconds
       value: 1
       action: put
+    - key: spec.strategy.activeDeadlineSeconds
+      value: 21600
+      action: put
   register: routerout
 
 # This should probably move to module