diff options
author | Jeff Cantrill <jcantril@redhat.com> | 2016-11-29 15:12:48 -0500 |
---|---|---|
committer | Jeff Cantrill <jcantril@redhat.com> | 2017-01-11 10:35:36 -0500 |
commit | 7a351a8bf87e6678e273d94ec7d003e1baa9fe90 (patch) | |
tree | eba19b0838e942f66af7278eea92357fdc05304e /roles/openshift_hosted_metrics/vars/main.yaml | |
parent | f443452d1a999df7417e665533494cebb44c0e7a (diff) | |
download | openshift-7a351a8bf87e6678e273d94ec7d003e1baa9fe90.tar.gz openshift-7a351a8bf87e6678e273d94ec7d003e1baa9fe90.tar.bz2 openshift-7a351a8bf87e6678e273d94ec7d003e1baa9fe90.tar.xz openshift-7a351a8bf87e6678e273d94ec7d003e1baa9fe90.zip |
rename openshift_metrics to openshift_hosted_metrics
Diffstat (limited to 'roles/openshift_hosted_metrics/vars/main.yaml')
-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) |