diff options
Diffstat (limited to 'roles/openshift_metrics/tasks/generate_certificates.yaml')
-rw-r--r-- | roles/openshift_metrics/tasks/generate_certificates.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/generate_certificates.yaml b/roles/openshift_metrics/tasks/generate_certificates.yaml new file mode 100644 index 000000000..3dc15d58b --- /dev/null +++ b/roles/openshift_metrics/tasks/generate_certificates.yaml @@ -0,0 +1,11 @@ +--- +- name: generate ca certificate chain + command: > + {{ openshift.common.client_binary }} adm ca create-signer-cert + --config={{ mktemp.stdout }}/admin.kubeconfig + --key='{{ mktemp.stdout }}/ca.key' + --cert='{{ mktemp.stdout }}/ca.crt' + --serial='{{ mktemp.stdout }}/ca.serial.txt' + --name="metrics-signer@{{lookup('pipe','date +%s')}}" + +- include: generate_hawkular_certificates.yaml |