mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
feat(gctx): move ready check to runtime Signed-off-by: Khaled Emara <khaled.emara@nirmata.com> Co-authored-by: shuting <shuting@nirmata.com>
28 lines
592 B
YAML
Executable file
28 lines
592 B
YAML
Executable file
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: new-deployment
|
|
namespace: test-globalcontext-apicall-failed
|
|
labels:
|
|
app: new-deployment
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: new-deployment
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: new-deployment
|
|
spec:
|
|
containers:
|
|
- name: pause
|
|
image: registry.k8s.io/pause:latest
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 10Mi
|
|
limits:
|
|
cpu: 10m
|
|
memory: 10Mi
|
|
terminationGracePeriodSeconds: 0
|