diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-02-17 15:11:51 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-02-20 16:13:40 -0500 |
commit | 35583f57c71db5b181d0eaefc0bfc620c3790535 (patch) | |
tree | c86e81b33792c3322c49145923e0f82491e80052 /roles/lib_openshift/src/doc/router | |
parent | 89ef5753535918a17a16c22c7bca56054229514f (diff) | |
download | openshift-35583f57c71db5b181d0eaefc0bfc620c3790535.tar.gz openshift-35583f57c71db5b181d0eaefc0bfc620c3790535.tar.bz2 openshift-35583f57c71db5b181d0eaefc0bfc620c3790535.tar.xz openshift-35583f57c71db5b181d0eaefc0bfc620c3790535.zip |
Renamed modules, fixed docs, renamed variables, and cleaned up logic.
Diffstat (limited to 'roles/lib_openshift/src/doc/router')
-rw-r--r-- | roles/lib_openshift/src/doc/router | 36 |
1 files changed, 27 insertions, 9 deletions
diff --git a/roles/lib_openshift/src/doc/router b/roles/lib_openshift/src/doc/router index 3938d8415..6ff7e3f8d 100644 --- a/roles/lib_openshift/src/doc/router +++ b/roles/lib_openshift/src/doc/router @@ -43,12 +43,6 @@ options: required: false default: default aliases: [] - credentials: - description: - - Path to a .kubeconfig file that will contain the credentials the registry should use to contact the master. - required: false - default: None - aliases: [] images: description: - The image to base this router on - ${component} will be replaced with --type @@ -159,7 +153,31 @@ options: aliases: [] author: - "Kenny Woodson <kwoodson@redhat.com>" -extends_documentation_fragment: [] +extends_documentation_fragment: +- There are some exceptions to note when doing the idempotency in this module. +- The strategy is to use the oc adm router command to generate a default +- configuration when creating or updating a router. Often times there +- differences from the generated template and what is in memory in openshift. +- We make exceptions to not check these specific values when comparing objects. +- Here are a list of exceptions: +- - DeploymentConfig: + - dnsPolicy + - terminationGracePeriodSeconds + - restartPolicy + - timeoutSeconds + - livenessProbe + - readinessProbe + - terminationMessagePath + - hostPort + - defaultMode + - Service: + - portalIP + - clusterIP + - sessionAffinity + - type + - ServiceAccount: + - secrets + - imagePullSecrets ''' EXAMPLES = ''' @@ -184,10 +202,10 @@ EXAMPLES = ''' action: put - key: spec.template.spec.containers[0].resources.limits.memory value: 2G - action: update + action: put - key: spec.template.spec.containers[0].resources.requests.memory value: 1G - action: update + action: put - key: spec.template.spec.containers[0].env value: name: EXTENDED_VALIDATION |