Merge "Fixes namespace issue in capd"

This commit is contained in:
Zuul 2021-10-21 18:37:10 +00:00 committed by Gerrit Code Review
commit 786ef6c622
4 changed files with 8 additions and 3 deletions

View File

@ -15,12 +15,10 @@ spec:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerCluster
name: "target-cluster"
namespace: default
controlPlaneRef:
kind: KubeadmControlPlane
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
name: "target-cluster-control-plane"
namespace: default
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerCluster

View File

@ -22,7 +22,6 @@ spec:
kind: DockerMachineTemplate
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
name: "target-cluster-control-plane"
namespace: default
kubeadmConfigSpec:
clusterConfiguration:
controllerManager:

View File

@ -2,6 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../../function/k8scontrol-capd
- namespace.yaml
namespace: target-infra
patchesJson6902:
- target:

View File

@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: target-infra