Skip to content

Commit a156712

Browse files
ader1990claudiubelu
authored andcommitted
docker: updated template with DockerMachineTemplate default namespace
Cluster API now fails with namespace reference not found, if the DockerMachineTemplate does not have a namespace set. Partially-Fixes: #136
1 parent d2a5879 commit a156712

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

templates/docker/cluster-template-dualstack.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ spec:
3939
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
4040
kind: DockerMachineTemplate
4141
name: ${CLUSTER_NAME}-control-plane
42+
namespace: default
4243
spec:
4344
airGapped: true
4445
controlPlane:

templates/docker/cluster-template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ spec:
3737
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
3838
kind: DockerMachineTemplate
3939
name: ${CLUSTER_NAME}-control-plane
40+
namespace: default
4041
spec:
4142
airGapped: true
4243
controlPlane:

0 commit comments

Comments
 (0)