diff options
author | mwringe <mwringe@redhat.com> | 2017-02-15 16:33:34 -0500 |
---|---|---|
committer | mwringe <mwringe@redhat.com> | 2017-02-15 16:33:34 -0500 |
commit | 9a4e3cc9823ca2350f9b15f83317327b5d08a1cd (patch) | |
tree | 162047ac08f81b3d64c26f09f9aa153320d6673a /roles | |
parent | c7f83e208ee433da74b7eb26644b30684a69649b (diff) | |
download | openshift-9a4e3cc9823ca2350f9b15f83317327b5d08a1cd.tar.gz openshift-9a4e3cc9823ca2350f9b15f83317327b5d08a1cd.tar.bz2 openshift-9a4e3cc9823ca2350f9b15f83317327b5d08a1cd.tar.xz openshift-9a4e3cc9823ca2350f9b15f83317327b5d08a1cd.zip |
Add missing full hostname for the Hawkular Metrics certificate (BZ1421060)
Fix issue where the signer certificate's name is static, preventing redeployments from being acceptable.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_metrics/tasks/generate_certificates.yaml | 2 | ||||
-rw-r--r-- | roles/openshift_metrics/tasks/generate_hawkular_certificates.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 f7cba0093..7af3f9467 100644 --- a/roles/openshift_metrics/tasks/generate_certificates.yaml +++ b/roles/openshift_metrics/tasks/generate_certificates.yaml @@ -6,6 +6,6 @@ --key='{{ mktemp.stdout }}/ca.key' --cert='{{ mktemp.stdout }}/ca.crt' --serial='{{ mktemp.stdout }}/ca.serial.txt' - --name="metrics-signer@$(date +%s)" + --name="metrics-signer@{{lookup('pipe','date +%s')}}" - include: generate_hawkular_certificates.yaml diff --git a/roles/openshift_metrics/tasks/generate_hawkular_certificates.yaml b/roles/openshift_metrics/tasks/generate_hawkular_certificates.yaml index 854697abb..9e7140bfa 100644 --- a/roles/openshift_metrics/tasks/generate_hawkular_certificates.yaml +++ b/roles/openshift_metrics/tasks/generate_hawkular_certificates.yaml @@ -3,7 +3,7 @@ include: setup_certificate.yaml vars: component: hawkular-metrics - hostnames: "hawkular-metrics,{{ openshift_metrics_hawkular_hostname }}" + hostnames: "hawkular-metrics,hawkular-metrics.{{ openshift_metrics_project }}.svc.cluster.local,{{ openshift_metrics_hawkular_hostname }}" changed_when: no - name: generate hawkular-cassandra certificates |