forked from operator-framework/operator-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkind-config.yaml
More file actions
28 lines (28 loc) · 854 Bytes
/
kind-config.yaml
File metadata and controls
28 lines (28 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
nodes:
- role: control-plane
extraPortMappings:
# e2e image registry service's NodePort
- containerPort: 30000
hostPort: 30000
listenAddress: "127.0.0.1"
protocol: tcp
# prometheus metrics service's NodePort
- containerPort: 30900
hostPort: 30900
listenAddress: "127.0.0.1"
protocol: tcp
kubeadmConfigPatches:
- |
kind: ClusterConfiguration
apiServer:
extraArgs:
enable-admission-plugins: OwnerReferencesPermissionEnforcement
extraMounts:
- hostPath: ./hack/kind-config/containerd/certs.d
containerPath: /etc/containerd/certs.d
containerdConfigPatches:
- |-
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/etc/containerd/certs.d"