mirror of
https://github.com/openshift/installer.git
synced 2026-02-06 00:48:45 +01:00
Update machines namespace
This commit is contained in:
@@ -47,7 +47,7 @@ func Machines(clusterID string, config *types.InstallConfig, pool *types.Machine
|
||||
Kind: "Machine",
|
||||
},
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Namespace: "openshift-cluster-api",
|
||||
Namespace: "openshift-machine-api",
|
||||
Name: fmt.Sprintf("%s-%s-%d", clustername, pool.Name, idx),
|
||||
Labels: map[string]string{
|
||||
"sigs.k8s.io/cluster-api-cluster": clustername,
|
||||
|
||||
@@ -49,7 +49,7 @@ func MachineSets(clusterID string, config *types.InstallConfig, pool *types.Mach
|
||||
Kind: "MachineSet",
|
||||
},
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Namespace: "openshift-cluster-api",
|
||||
Namespace: "openshift-machine-api",
|
||||
Name: name,
|
||||
Labels: map[string]string{
|
||||
"sigs.k8s.io/cluster-api-cluster": clustername,
|
||||
|
||||
@@ -37,7 +37,7 @@ func Machines(clusterID string, config *types.InstallConfig, pool *types.Machine
|
||||
Kind: "Machine",
|
||||
},
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Namespace: "openshift-cluster-api",
|
||||
Namespace: "openshift-machine-api",
|
||||
Name: fmt.Sprintf("%s-%s-%d", clustername, pool.Name, idx),
|
||||
Labels: map[string]string{
|
||||
"sigs.k8s.io/cluster-api-cluster": clustername,
|
||||
|
||||
@@ -40,7 +40,7 @@ func MachineSets(clusterID string, config *types.InstallConfig, pool *types.Mach
|
||||
Kind: "MachineSet",
|
||||
},
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Namespace: "openshift-cluster-api",
|
||||
Namespace: "openshift-machine-api",
|
||||
Name: name,
|
||||
Labels: map[string]string{
|
||||
"sigs.k8s.io/cluster-api-cluster": clustername,
|
||||
|
||||
@@ -20,7 +20,7 @@ items:
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{$name}}
|
||||
namespace: openshift-cluster-api
|
||||
namespace: openshift-machine-api
|
||||
type: Opaque
|
||||
data:
|
||||
userData: {{$content}}
|
||||
|
||||
Reference in New Issue
Block a user