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:
parent
7583aad6fd
commit
32df01f2d4
2 changed files with 21 additions and 0 deletions
4
Makefile
4
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
|
||||
|
||||
|
|
17
scripts/config/kwok/kustomization.yaml
Normal file
17
scripts/config/kwok/kustomization.yaml
Normal 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
|
Loading…
Reference in a new issue