Browse Source

Create default project nodeSelector for NPD to run on all nodes (including masters)

Joel Smith 6 years ago
parent
commit
d14c899989
1 changed files with 2 additions and 0 deletions
  1. 2 0
      roles/openshift_node_problem_detector/tasks/install.yaml

+ 2 - 0
roles/openshift_node_problem_detector/tasks/install.yaml

@@ -8,6 +8,8 @@
   oc_project:
   oc_project:
     name: openshift-node-problem-detector
     name: openshift-node-problem-detector
     state: present
     state: present
+    node_selector:
+    - ""
 
 
 - name: create Node Problem Detector service account
 - name: create Node Problem Detector service account
   oc_serviceaccount:
   oc_serviceaccount: