-
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.
Ignore cert annotation in rollout test
Signed-off-by: killianmuldoon <kmuldoon@vmware.com>
- Loading branch information
1 parent
bb287a1
commit ed51fb9
Showing
2 changed files
with
96 additions
and
2 deletions.
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
84 changes: 84 additions & 0 deletions
84
test/infrastructure/docker/templates/cluster-template-goofy.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,84 @@ | ||
apiVersion: cluster.x-k8s.io/v1beta1 | ||
kind: Cluster | ||
metadata: | ||
name: ${CLUSTER_NAME} | ||
namespace: ${NAMESPACE} | ||
labels: | ||
cni: calico | ||
spec: | ||
clusterNetwork: | ||
services: | ||
cidrBlocks: ${POD_CIDR:=["192.168.0.0/16"]} | ||
pods: | ||
cidrBlocks: ${SERVICE_CIDR:=["10.128.0.0/12"]} | ||
serviceDomain: "cluster.local" | ||
controlPlaneRef: | ||
apiVersion: controlplane.cluster.x-k8s.io/v1beta1 | ||
kind: KubeadmControlPlane | ||
name: ${CLUSTER_NAME} | ||
namespace: ${NAMESPACE} | ||
infrastructureRef: | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: GoofyCluster | ||
name: ${CLUSTER_NAME} | ||
namespace: ${NAMESPACE} | ||
--- | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: GoofyCluster | ||
metadata: | ||
name: ${CLUSTER_NAME} | ||
namespace: ${NAMESPACE} | ||
--- | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: GoofyMachineTemplate | ||
metadata: | ||
name: ${CLUSTER_NAME}-controlplane | ||
namespace: ${NAMESPACE} | ||
spec: | ||
template: | ||
spec: {} | ||
--- | ||
apiVersion: controlplane.cluster.x-k8s.io/v1beta1 | ||
kind: KubeadmControlPlane | ||
metadata: | ||
name: ${CLUSTER_NAME} | ||
namespace: ${NAMESPACE} | ||
annotations: | ||
controlplane.cluster.x-k8s.io/skip-kube-proxy: "" | ||
controlplane.cluster.x-k8s.io/skip-coredns: "" | ||
spec: | ||
replicas: ${CONTROL_PLANE_MACHINE_COUNT} | ||
version: ${KUBERNETES_VERSION} | ||
machineTemplate: | ||
infrastructureRef: | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | ||
kind: GoofyMachineTemplate | ||
name: ${CLUSTER_NAME}-controlplane | ||
namespace: ${NAMESPACE} | ||
kubeadmConfigSpec: | ||
clusterConfiguration: | ||
apiServer: | ||
certSANs: | ||
- localhost | ||
- 127.0.0.1 | ||
- 0.0.0.0 | ||
- host.docker.internal # host.docker.internal is required by kubetest when running on MacOS because of the way ports are proxied. | ||
controllerManager: | ||
extraArgs: | ||
enable-hostpath-provisioner: "true" | ||
dns: | ||
imageTag: "" | ||
initConfiguration: | ||
nodeRegistration: | ||
kubeletExtraArgs: | ||
# We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd | ||
# kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726 | ||
# cgroup-driver: cgroupfs | ||
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% | ||
joinConfiguration: | ||
nodeRegistration: | ||
kubeletExtraArgs: | ||
# We have to pin the cgroupDriver to cgroupfs as kubeadm >=1.21 defaults to systemd | ||
# kind will implement systemd support in: https://github.com/kubernetes-sigs/kind/issues/1726 | ||
# cgroup-driver: cgroupfs | ||
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% |