Prechádzať zdrojové kódy

scaleup: new namespace for machinesets

Vadim Rutkovsky 6 rokov pred
rodič
commit
e62050e5b7

+ 2 - 2
test/aws/create_machineset.yml

@@ -33,7 +33,7 @@
 - name: import machinespec
   oc_obj:
     state: present
-    namespace: "openshift-cluster-api"
+    namespace: "openshift-machine-api"
     kind: machineset
     name: "{{ machineset_name.result }}-centos"
     kubeconfig: "{{ kubeconfig_path }}"
@@ -44,7 +44,7 @@
   oc_obj:
     state: list
     kind: machines.machine.openshift.io
-    namespace: openshift-cluster-api
+    namespace: openshift-machine-api
     selector: "sigs.k8s.io/cluster-api-machineset={{ machineset_name.result }}-centos"
     kubeconfig: "{{ kubeconfig_path }}"
   register: new_machine

+ 1 - 1
test/aws/get_machinesets.yml

@@ -28,7 +28,7 @@
   oc_obj:
     state: list
     kind: machinesets.machine.openshift.io
-    namespace: openshift-cluster-api
+    namespace: openshift-machine-api
     selector: ""
     kubeconfig: "{{ kubeconfig_path }}"
   register: machineset

+ 1 - 1
test/aws/scaleup.yml

@@ -122,7 +122,7 @@
     oc_obj:
       state: absent
       kind: machinesets.machine.openshift.io
-      namespace: openshift-cluster-api
+      namespace: openshift-machine-api
       name: "{{ item }}"
       kubeconfig: "{{ kubeconfig_path }}"
     with_items: "{{ pre_scaleup_machineset_names }}"