-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: killianmuldoon <[email protected]>
- Loading branch information
1 parent
9ad6d51
commit 3e61c27
Showing
8 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
test/e2e/data/infrastructure-docker/main/cluster-template-dualstack/cluster.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
apiVersion: cluster.x-k8s.io/v1beta1 | ||
kind: Cluster | ||
metadata: | ||
name: '${CLUSTER_NAME}' | ||
spec: | ||
clusterNetwork: | ||
services: | ||
cidrBlocks: | ||
- '${DOCKER_SERVICE_IPV6_CIDRS}' | ||
- '${DOCKER_SERVICE_CIDRS}' | ||
pods: | ||
cidrBlocks: | ||
- '${DOCKER_POD_IPV6_CIDRS}' | ||
- '${DOCKER_POD_CIDRS}' |
21 changes: 21 additions & 0 deletions
21
test/e2e/data/infrastructure-docker/main/cluster-template-dualstack/kcp.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
kind: KubeadmControlPlane | ||
apiVersion: controlplane.cluster.x-k8s.io/v1beta1 | ||
metadata: | ||
name: "${CLUSTER_NAME}-control-plane" | ||
spec: | ||
kubeadmConfigSpec: | ||
clusterConfiguration: | ||
apiServer: | ||
# host.docker.internal is required by kubetest when running on MacOS because of the way ports are proxied. | ||
certSANs: [localhost,"127.0.0.1", "0.0.0.0", "::", "::1", host.docker.internal] | ||
initConfiguration: | ||
localAPIEndpoint: | ||
advertiseAddress: '::' # Note: The control plane node should use an ipv6 address as an internalIP. The worker node should use an ipv4 address as an internalIP. | ||
nodeRegistration: | ||
kubeletExtraArgs: | ||
node-ip: "::" | ||
joinConfiguration: | ||
nodeRegistration: | ||
kubeletExtraArgs: | ||
node-ip: "::" |
9 changes: 9 additions & 0 deletions
9
test/e2e/data/infrastructure-docker/main/cluster-template-dualstack/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
bases: | ||
- ../bases/cluster-with-kcp.yaml | ||
- ../bases/md.yaml | ||
- ../bases/crs.yaml | ||
|
||
patchesStrategicMerge: | ||
- cluster.yaml | ||
- md.yaml | ||
- kcp.yaml |
16 changes: 16 additions & 0 deletions
16
test/e2e/data/infrastructure-docker/main/cluster-template-dualstack/md.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 | ||
kind: KubeadmConfigTemplate | ||
metadata: | ||
name: "${CLUSTER_NAME}-md-0" | ||
spec: | ||
template: | ||
spec: | ||
initConfiguration: | ||
nodeRegistration: | ||
kubeletExtraArgs: | ||
node-ip: "0.0.0.0" # Note: The control plane node should use an ipv6 address as an internalIP. The worker node should use an ipv4 address as an internalIP. | ||
joinConfiguration: | ||
nodeRegistration: | ||
kubeletExtraArgs: | ||
node-ip: "0.0.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters