summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/vars
diff options
context:
space:
mode:
authorJose David Martin Nieto <j.david.nieto@gmail.com>2016-03-10 12:30:44 +0100
committerJose David Martin Nieto <j.david.nieto@gmail.com>2016-04-20 16:41:21 +0200
commit55e36e376858d023203f4a3d7884c830109bc122 (patch)
tree4f695d1a586be8cd135aa675fbb985470d70a8ed /roles/openshift_metrics/vars
parent1f490c2374038669df3d2bfcb01af54361f8907e (diff)
downloadopenshift-55e36e376858d023203f4a3d7884c830109bc122.tar.gz
openshift-55e36e376858d023203f4a3d7884c830109bc122.tar.bz2
openshift-55e36e376858d023203f4a3d7884c830109bc122.tar.xz
openshift-55e36e376858d023203f4a3d7884c830109bc122.zip
added new openshift-metrics service
Diffstat (limited to 'roles/openshift_metrics/vars')
-rw-r--r--roles/openshift_metrics/vars/main.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/openshift_metrics/vars/main.yaml b/roles/openshift_metrics/vars/main.yaml
new file mode 100644
index 000000000..82d9d29f7
--- /dev/null
+++ b/roles/openshift_metrics/vars/main.yaml
@@ -0,0 +1,19 @@
+hawkular_permission_oc_commands:
+ - policy add-role-to-user edit system:serviceaccount:openshift-infra:metrics-deployer -n openshift-infra
+ - policy add-cluster-role-to-user cluster-admin system:serviceaccount:openshift-infra:heapster
+
+deployer_service_account:
+ apiVersion: v1
+ kind: ServiceAccount
+ metadata:
+ name: metrics-deployer
+ secrets:
+ - name: metrics-deployer
+
+
+hawkular_tmp_conf: /tmp/hawkular_admin.kubeconfig
+
+hawkular_persistence: "{% if openshift.hosted.metrics.storage.kind != None %}true{% else %}false{% endif %}"
+
+hawkular_type: "{{ 'origin' if deployment_type == 'origin' else 'enterprise' }}"
+