generate_certificates.yaml 405 B

1234567891011
  1. ---
  2. - name: generate ca certificate chain
  3. command: >
  4. {{ openshift_client_binary }} adm ca create-signer-cert
  5. --config={{ mktemp.stdout }}/admin.kubeconfig
  6. --key='{{ mktemp.stdout }}/ca.key'
  7. --cert='{{ mktemp.stdout }}/ca.crt'
  8. --serial='{{ mktemp.stdout }}/ca.serial.txt'
  9. --name="metrics-signer@{{lookup('pipe','date +%s')}}"
  10. - include_tasks: generate_hawkular_certificates.yaml