diff --git a/config/kind-apisnoop-cni-disable.yaml b/config/kind-apisnoop-cni-disable.yaml index 1c8bbc5..9087558 100644 --- a/config/kind-apisnoop-cni-disable.yaml +++ b/config/kind-apisnoop-cni-disable.yaml @@ -6,16 +6,30 @@ kubeadmConfigPatches: kind: ClusterConfiguration metadata: name: config + controllerManager: + extraArgs: + cloud-provider: "external" apiServer: extraArgs: "audit-webhook-config-file": "/etc/kubernetes/policies/sink.yaml" "audit-policy-file": "/etc/kubernetes/policies/policy.yaml" + cloud-provider: "external" extraVolumes: - name: audit-policies hostPath: /etc/kubernetes/policies mountPath: /etc/kubernetes/policies readOnly: true pathType: "DirectoryOrCreate" + --- + kind: InitConfiguration + nodeRegistration: + kubeletExtraArgs: + cloud-provider: "external" + --- + kind: JoinConfiguration + nodeRegistration: + kubeletExtraArgs: + cloud-provider: "external" networking: # the default CNI will not be installed disableDefaultCNI: true diff --git a/config/kind-apisnoop-cni-enable.yaml b/config/kind-apisnoop-cni-enable.yaml index c39ce1c..6e2931e 100644 --- a/config/kind-apisnoop-cni-enable.yaml +++ b/config/kind-apisnoop-cni-enable.yaml @@ -6,16 +6,30 @@ kubeadmConfigPatches: kind: ClusterConfiguration metadata: name: config + controllerManager: + extraArgs: + cloud-provider: "external" apiServer: extraArgs: "audit-webhook-config-file": "/etc/kubernetes/policies/sink.yaml" "audit-policy-file": "/etc/kubernetes/policies/policy.yaml" + cloud-provider: "external" extraVolumes: - name: audit-policies hostPath: /etc/kubernetes/policies mountPath: /etc/kubernetes/policies readOnly: true pathType: "DirectoryOrCreate" + --- + kind: InitConfiguration + nodeRegistration: + kubeletExtraArgs: + cloud-provider: "external" + --- + kind: JoinConfiguration + nodeRegistration: + kubeletExtraArgs: + cloud-provider: "external" nodes: - role: control-plane extraMounts: diff --git a/config/kind-cni-disable.yaml b/config/kind-cni-disable.yaml index 2cd0fdf..f0a40ee 100644 --- a/config/kind-cni-disable.yaml +++ b/config/kind-cni-disable.yaml @@ -1,5 +1,27 @@ kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 +kubeadmConfigPatches: + - | + apiVersion: kubeadm.k8s.io/v1beta3 + kind: ClusterConfiguration + metadata: + name: config + controllerManager: + extraArgs: + cloud-provider: "external" + apiServer: + extraArgs: + cloud-provider: "external" + --- + kind: InitConfiguration + nodeRegistration: + kubeletExtraArgs: + cloud-provider: "external" + --- + kind: JoinConfiguration + nodeRegistration: + kubeletExtraArgs: + cloud-provider: "external" networking: # the default CNI will not be installed disableDefaultCNI: true diff --git a/config/kind-cni-enable.yaml b/config/kind-cni-enable.yaml index cebee6d..7338906 100644 --- a/config/kind-cni-enable.yaml +++ b/config/kind-cni-enable.yaml @@ -1,5 +1,27 @@ kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 +kubeadmConfigPatches: + - | + apiVersion: kubeadm.k8s.io/v1beta3 + kind: ClusterConfiguration + metadata: + name: config + controllerManager: + extraArgs: + cloud-provider: "external" + apiServer: + extraArgs: + cloud-provider: "external" + --- + kind: InitConfiguration + nodeRegistration: + kubeletExtraArgs: + cloud-provider: "external" + --- + kind: JoinConfiguration + nodeRegistration: + kubeletExtraArgs: + cloud-provider: "external" nodes: - role: control-plane - role: worker