summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorSlava Semushin <vsemushi@redhat.com>2017-03-08 17:42:48 +0100
committerSlava Semushin <vsemushi@redhat.com>2017-03-29 15:50:09 +0200
commitf2f67133c5a8c68c2a7a28b146f7cb9786ba48d0 (patch)
tree10de68c34f2772080cadd36a17f106e2fde78cb9 /roles
parent850fed7d22041f8aee866d77824445d8c605accc (diff)
downloadopenshift-f2f67133c5a8c68c2a7a28b146f7cb9786ba48d0.tar.gz
openshift-f2f67133c5a8c68c2a7a28b146f7cb9786ba48d0.tar.bz2
openshift-f2f67133c5a8c68c2a7a28b146f7cb9786ba48d0.tar.xz
openshift-f2f67133c5a8c68c2a7a28b146f7cb9786ba48d0.zip
oc_adm_ca_server_cert.py: re-generate.
Diffstat (limited to 'roles')
-rw-r--r--roles/lib_openshift/library/oc_adm_ca_server_cert.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/lib_openshift/library/oc_adm_ca_server_cert.py b/roles/lib_openshift/library/oc_adm_ca_server_cert.py
index af1d13fe1..afe026099 100644
--- a/roles/lib_openshift/library/oc_adm_ca_server_cert.py
+++ b/roles/lib_openshift/library/oc_adm_ca_server_cert.py
@@ -130,6 +130,12 @@ options:
required: false
default: True
aliases: []
+ expire_days:
+ description
+ - Validity of the certificate in days
+ required: false
+ default: None
+ aliases: []
author:
- "Kenny Woodson <kwoodson@redhat.com>"
extends_documentation_fragment: []
@@ -1480,6 +1486,7 @@ class CAServerCert(OpenShiftCLI):
'signer_cert': {'value': params['signer_cert'], 'include': True},
'signer_key': {'value': params['signer_key'], 'include': True},
'signer_serial': {'value': params['signer_serial'], 'include': True},
+ 'expire_days': {'value': params['expire_days'], 'include': True},
'backup': {'value': params['backup'], 'include': False},
})
@@ -1538,6 +1545,7 @@ def main():
signer_key=dict(default='/etc/origin/master/ca.key', type='str'),
signer_serial=dict(default='/etc/origin/master/ca.serial.txt', type='str'),
hostnames=dict(default=[], type='list'),
+ expire_days=dict(default=None, type='int'),
),
supports_check_mode=True,
)