add tests
This commit is contained in:
21
hack/testdata/null-propagation/deployment-null.yml
vendored
Normal file
21
hack/testdata/null-propagation/deployment-null.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: my-dep-null
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
l1: l1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
l1: l1
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: registry.k8s.io/nginx:1.7.9
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: null
|
||||
terminationMessagePolicy: null
|
8
hack/testdata/null-propagation/resourcesquota-null.yml
vendored
Normal file
8
hack/testdata/null-propagation/resourcesquota-null.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
kind: ResourceQuota
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: my-rq
|
||||
spec:
|
||||
hard:
|
||||
limits.cpu: null
|
||||
limits.memory: null
|
Reference in New Issue
Block a user