1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

chore: add makefile target for kwok (#7097)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-05-05 07:41:37 +02:00 committed by GitHub
parent 7583aad6fd
commit 32df01f2d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View file

@ -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

View file

@ -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