main.yaml 642 B

12345678910111213141516171819
  1. hawkular_permission_oc_commands:
  2. - policy add-role-to-user edit system:serviceaccount:openshift-infra:metrics-deployer -n openshift-infra
  3. - policy add-cluster-role-to-user cluster-admin system:serviceaccount:openshift-infra:heapster
  4. deployer_service_account:
  5. apiVersion: v1
  6. kind: ServiceAccount
  7. metadata:
  8. name: metrics-deployer
  9. secrets:
  10. - name: metrics-deployer
  11. hawkular_tmp_conf: /tmp/hawkular_admin.kubeconfig
  12. hawkular_persistence: "{% if openshift.hosted.metrics.storage.kind != None %}true{% else %}false{% endif %}"
  13. hawkular_type: "{{ 'origin' if deployment_type == 'origin' else 'enterprise' }}"