---
# node_problem_detector common setup
openshift_node_problem_detector_state: present
openshift_node_problem_detector_tmp_location: /tmp
openshift_node_problem_detector_delete_tempfiles: True

# node-problem-detector image setup
openshift_node_problem_detector_image_dict:
  origin:
    prefix: "docker.io/openshift/"
    version: "{{ openshift_image_tag }}"
  openshift-enterprise:
    prefix: "registry.redhat.io/openshift3/ose-"
    version: "{{ openshift_image_tag }}"

openshift_node_problem_detector_image_prefix: "{{ openshift_node_problem_detector_image_dict[openshift_deployment_type]['prefix'] }}"
openshift_node_problem_detector_image_version: "{{ openshift_node_problem_detector_image_dict[openshift_deployment_type]['version'] }}"


# node_problem_detector daemonset setup
openshift_node_problem_detector_daemonset_name: node-problem-detector
openshift_node_problem_detector_daemonset_template_file: templates/node-problem-detector-daemonset.yaml.j2
openshift_node_problem_detector_image_pull_policy: IfNotPresent

# node_problem_detector service account setup
openshift_node_problem_detector_service_account: node-problem-detector
openshift_node_problem_detector_cluster_role_name: node-problem-detector

# node problem detector configmap setup
openshift_node_problem_detector_configmap_name: node-problem-detector
openshift_node_problem_detector_configmap_filename: files/node-problem-detector-configmap.yaml
