diff options
author | Jeff Cantrill <jcantril@redhat.com> | 2017-05-24 15:57:38 -0400 |
---|---|---|
committer | Jeff Cantrill <jcantril@redhat.com> | 2017-06-06 13:33:23 -0400 |
commit | c3312c7d0168645f4e5d87f214cb31241d625a47 (patch) | |
tree | 4acff747cb684990ec90edbdc6a26d12d43fdf31 /roles/openshift_metrics | |
parent | 67da7e2e4699f9a226a436218723749ebc14ace1 (diff) | |
download | openshift-c3312c7d0168645f4e5d87f214cb31241d625a47.tar.gz openshift-c3312c7d0168645f4e5d87f214cb31241d625a47.tar.bz2 openshift-c3312c7d0168645f4e5d87f214cb31241d625a47.tar.xz openshift-c3312c7d0168645f4e5d87f214cb31241d625a47.zip |
fix up openshift-ansible for use with 'oc cluster up'
Diffstat (limited to 'roles/openshift_metrics')
-rw-r--r-- | roles/openshift_metrics/tasks/generate_certificates.yaml | 2 | ||||
-rw-r--r-- | roles/openshift_metrics/tasks/setup_certificate.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_metrics/tasks/generate_certificates.yaml b/roles/openshift_metrics/tasks/generate_certificates.yaml index 7af3f9467..3dc15d58b 100644 --- a/roles/openshift_metrics/tasks/generate_certificates.yaml +++ b/roles/openshift_metrics/tasks/generate_certificates.yaml @@ -1,7 +1,7 @@ --- - name: generate ca certificate chain command: > - {{ openshift.common.admin_binary }} ca create-signer-cert + {{ openshift.common.client_binary }} adm ca create-signer-cert --config={{ mktemp.stdout }}/admin.kubeconfig --key='{{ mktemp.stdout }}/ca.key' --cert='{{ mktemp.stdout }}/ca.crt' diff --git a/roles/openshift_metrics/tasks/setup_certificate.yaml b/roles/openshift_metrics/tasks/setup_certificate.yaml index 199968579..2d880f4d6 100644 --- a/roles/openshift_metrics/tasks/setup_certificate.yaml +++ b/roles/openshift_metrics/tasks/setup_certificate.yaml @@ -1,7 +1,7 @@ --- - name: generate {{ component }} keys command: > - {{ openshift.common.admin_binary }} ca create-server-cert + {{ openshift.common.client_binary }} adm ca create-server-cert --config={{ mktemp.stdout }}/admin.kubeconfig --key='{{ mktemp.stdout }}/{{ component }}.key' --cert='{{ mktemp.stdout }}/{{ component }}.crt' |