diff --git a/Makefile b/Makefile index 9d95e6d598..00251d284a 100644 --- a/Makefile +++ b/Makefile @@ -894,6 +894,10 @@ dev-lab-policy-reporter: $(HELM) ## Deploy policy-reporter helm chart --repo https://kyverno.github.io/policy-reporter policy-reporter \ --values ./scripts/config/dev/policy-reporter.yaml +.PHONY: dev-lab-kwok +dev-lab-kwok: + @kubectl apply -k ./scripts/config/kwok + .PHONY: dev-lab-all dev-lab-all: dev-lab-ingress-ngingx dev-lab-metrics-server dev-lab-prometheus dev-lab-loki dev-lab-tempo dev-lab-policy-reporter ## Deploy all dev lab components diff --git a/scripts/config/kwok/kustomization.yaml b/scripts/config/kwok/kustomization.yaml new file mode 100644 index 0000000000..14292d9ae9 --- /dev/null +++ b/scripts/config/kwok/kustomization.yaml @@ -0,0 +1,17 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +images: +- name: registry.k8s.io/kwok/kwok + newTag: v0.2.0 +resources: +- https://github.com/kubernetes-sigs/kwok/kustomize/kwok?ref=v0.2.0 +patchesStrategicMerge: +- |- + apiVersion: apps/v1 + kind: Deployment + metadata: + name: kwok-controller + spec: + template: + spec: + hostNetwork: true