mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-23 16:20:40 +00:00
* feat(vp): implement gctx in context library Signed-off-by: Khaled Emara <khaled.emara@nirmata.com> * test(cel): add chainsaw test for validating policies gctx Signed-off-by: Khaled Emara <khaled.emara@nirmata.com> --------- Signed-off-by: Khaled Emara <khaled.emara@nirmata.com> Signed-off-by: ShutingZhao <shuting@nirmata.com> Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com> Co-authored-by: shuting <shuting@nirmata.com> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
28 lines
597 B
YAML
Executable file
28 lines
597 B
YAML
Executable file
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: main-deployment
|
|
namespace: test-globalcontext-apicall-correct
|
|
labels:
|
|
app: main-deployment
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: main-deployment
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: main-deployment
|
|
spec:
|
|
containers:
|
|
- name: pause
|
|
image: registry.k8s.io/pause:latest
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 10Mi
|
|
limits:
|
|
cpu: 10m
|
|
memory: 10Mi
|
|
terminationGracePeriodSeconds: 0
|