diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-20 11:58:45 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-20 11:58:45 -0400 |
commit | c64590a63e64c6edad86766fbac5bf00b176b7c4 (patch) | |
tree | 3592a0a4141b64878b89989223b4b4e0dfbf5233 /roles/openshift_metrics/vars | |
parent | afff74593f6de2492e3ed1cbe63f68a2dfb732f3 (diff) | |
parent | 55e36e376858d023203f4a3d7884c830109bc122 (diff) | |
download | openshift-c64590a63e64c6edad86766fbac5bf00b176b7c4.tar.gz openshift-c64590a63e64c6edad86766fbac5bf00b176b7c4.tar.bz2 openshift-c64590a63e64c6edad86766fbac5bf00b176b7c4.tar.xz openshift-c64590a63e64c6edad86766fbac5bf00b176b7c4.zip |
Merge pull request #1582 from jdnieto/openshift_metrics
added new openshift-metrics service
Diffstat (limited to 'roles/openshift_metrics/vars')
-rw-r--r-- | roles/openshift_metrics/vars/main.yaml | 19 |
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' }}" + |