summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-06-07 18:55:03 -0400
committerGitHub <noreply@github.com>2017-06-07 18:55:03 -0400
commitedf1d68ff01b6fc448b721c04d57ac39f80c07da (patch)
tree380d3d2b7c3421769738a612322bc36207bd7db2 /roles/openshift_metrics
parentcb3ccbf3c4a8a79cda7f3b7b9dc70111575a8aa6 (diff)
parentc3312c7d0168645f4e5d87f214cb31241d625a47 (diff)
downloadopenshift-edf1d68ff01b6fc448b721c04d57ac39f80c07da.tar.gz
openshift-edf1d68ff01b6fc448b721c04d57ac39f80c07da.tar.bz2
openshift-edf1d68ff01b6fc448b721c04d57ac39f80c07da.tar.xz
openshift-edf1d68ff01b6fc448b721c04d57ac39f80c07da.zip
Merge pull request #4279 from jcantrill/use_oc_adm_lib
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_metrics')
-rw-r--r--roles/openshift_metrics/tasks/generate_certificates.yaml2
-rw-r--r--roles/openshift_metrics/tasks/setup_certificate.yaml2
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'