Browse Source

added certain vars to openshift_node_group/vars/main.yml

Matt Woodson 6 years ago
parent
commit
804647ca23

+ 0 - 9
roles/openshift_node_group/defaults/main.yml

@@ -13,16 +13,7 @@ openshift_node_groups:
   - 'node-role.kubernetes.io/compute=true'
   edits: []
 
-l_openshift_node_group_master: "{{ openshift_node_group_master | default('node-config-master') }}"
-
-openshift_node_group_edits: []
 openshift_node_group_namespace: openshift-node
-openshift_node_group_labels: []
-
-openshift_node_labels_edit:
-- key: kubeletArguments.node-labels
-  value:
-  - "{{ openshift_node_group_labels | join(',') }}"
 
 openshift_use_crio: False
 l_crio_var_sock: "/var/run/crio/crio.sock"

+ 8 - 0
roles/openshift_node_group/vars/main.yml

@@ -0,0 +1,8 @@
+---
+# These values should never be passed in, they are needed
+openshift_node_group_edits: []
+openshift_node_group_labels: []
+openshift_node_labels_edit:
+- key: kubeletArguments.node-labels
+  value:
+  - "{{ openshift_node_group_labels | join(',') }}"