summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/tasks/install_hawkular.yaml
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@vshn.ch>2017-09-06 13:45:10 +0200
committerMichael Hanselmann <hansmi@vshn.ch>2017-09-06 14:12:48 +0200
commit028194f39eee85a44eb186dd5aab6f14268683a4 (patch)
tree1a125bbfeb2a1bda9fc5e9bd63192201134c8460 /roles/openshift_metrics/tasks/install_hawkular.yaml
parent338436926fe1ef6d089a08bfe011f0105665ab3d (diff)
downloadopenshift-028194f39eee85a44eb186dd5aab6f14268683a4.tar.gz
openshift-028194f39eee85a44eb186dd5aab6f14268683a4.tar.bz2
openshift-028194f39eee85a44eb186dd5aab6f14268683a4.tar.xz
openshift-028194f39eee85a44eb186dd5aab6f14268683a4.zip
Support setting annotations on Hawkular route
Our setup uses annotations to request a separate component, namely the ACME Controller[1], to request domain-validated certificates from the Let's Encrypt CA. By setting the necessary annotation via Ansible rather than manually the system will automatically retrieve a certificate. [1] https://github.com/tnozicka/openshift-acme
Diffstat (limited to 'roles/openshift_metrics/tasks/install_hawkular.yaml')
-rw-r--r--roles/openshift_metrics/tasks/install_hawkular.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/install_hawkular.yaml b/roles/openshift_metrics/tasks/install_hawkular.yaml
index 6b37f85ab..b63f5ca8c 100644
--- a/roles/openshift_metrics/tasks/install_hawkular.yaml
+++ b/roles/openshift_metrics/tasks/install_hawkular.yaml
@@ -40,6 +40,7 @@
dest: "{{ mktemp.stdout }}/templates/hawkular-metrics-route.yaml"
vars:
name: hawkular-metrics
+ annotations: "{{ openshift_metrics_hawkular_route_annotations }}"
labels:
metrics-infra: hawkular-metrics
host: "{{ openshift_metrics_hawkular_hostname }}"