Skip to content

Commit 27602ad

Browse files
authored
Remove kind config (operator-framework#936)
We no longer need to enable `ValidatingAdmissionPolicy` since it is enabled by default in K8s 1.30. This means we can delete `kind-config.yaml`. Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent 126ddc4 commit 27602ad

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ kind-redeploy: generate docker-build kind-load kind-deploy #EXHELP Redeploy newl
180180
.PHONY: kind-cluster
181181
kind-cluster: $(KIND) #EXHELP Standup a kind cluster.
182182
-$(KIND) delete cluster --name $(KIND_CLUSTER_NAME)
183-
# kind-config.yaml can be deleted after upgrading to Kubernetes 1.30
184-
$(KIND) create cluster --name $(KIND_CLUSTER_NAME) --image $(KIND_CLUSTER_IMAGE) --config ./kind-config.yaml
183+
$(KIND) create cluster --name $(KIND_CLUSTER_NAME) --image $(KIND_CLUSTER_IMAGE)
185184
$(KIND) export kubeconfig --name $(KIND_CLUSTER_NAME)
186185

187186
.PHONY: kind-clean

dev/podman/kind-with-registry-podman.sh

-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ fi
2222
cat <<EOF | kind create cluster --config=-
2323
kind: Cluster
2424
apiVersion: kind.x-k8s.io/v1alpha4
25-
featureGates:
26-
"ValidatingAdmissionPolicy": true
27-
runtimeConfig:
28-
"admissionregistration.k8s.io/v1beta1": true
2925
containerdConfigPatches:
3026
- |-
3127
[plugins."io.containerd.grpc.v1.cri".registry]

kind-config.yaml

-8
This file was deleted.

0 commit comments

Comments
 (0)