1
0
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:
Enxebre
2019-02-08 10:48:01 +01:00
parent 08afe7edc9
commit 56b34f926a
5 changed files with 5 additions and 5 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -20,7 +20,7 @@ items:
kind: Secret
metadata:
name: {{$name}}
namespace: openshift-cluster-api
namespace: openshift-machine-api
type: Opaque
data:
userData: {{$content}}