diff options
author | Jason DeTiberus <detiber@gmail.com> | 2017-01-11 12:19:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 12:19:54 -0500 |
commit | c9919242e76c03ea25993d8ee14c2ac64014077c (patch) | |
tree | c912b844bdcbdacdcda18987f7ba16f0f786471f /roles/openshift_hosted_metrics/vars | |
parent | c273ed46d1236a0b4a5169bbff009dea051bdee7 (diff) | |
parent | 7a351a8bf87e6678e273d94ec7d003e1baa9fe90 (diff) | |
download | openshift-c9919242e76c03ea25993d8ee14c2ac64014077c.tar.gz openshift-c9919242e76c03ea25993d8ee14c2ac64014077c.tar.bz2 openshift-c9919242e76c03ea25993d8ee14c2ac64014077c.tar.xz openshift-c9919242e76c03ea25993d8ee14c2ac64014077c.zip |
Merge pull request #2881 from jcantrill/mv_metrics_to_hosted_metrics
rename openshift_metrics to openshift_hosted_metrics
Diffstat (limited to 'roles/openshift_hosted_metrics/vars')
-rw-r--r-- | roles/openshift_hosted_metrics/vars/main.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/openshift_hosted_metrics/vars/main.yaml b/roles/openshift_hosted_metrics/vars/main.yaml new file mode 100644 index 000000000..6c207d6ac --- /dev/null +++ b/roles/openshift_hosted_metrics/vars/main.yaml @@ -0,0 +1,21 @@ +--- +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 + +metrics_deployer_sa: + 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' }}" + +metrics_upgrade: openshift.hosted.metrics.upgrade | default(False) |