summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_metrics/vars
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2017-01-11 12:19:54 -0500
committerGitHub <noreply@github.com>2017-01-11 12:19:54 -0500
commitc9919242e76c03ea25993d8ee14c2ac64014077c (patch)
treec912b844bdcbdacdcda18987f7ba16f0f786471f /roles/openshift_hosted_metrics/vars
parentc273ed46d1236a0b4a5169bbff009dea051bdee7 (diff)
parent7a351a8bf87e6678e273d94ec7d003e1baa9fe90 (diff)
downloadopenshift-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.yaml21
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)