Merge pull request #125646 from HirazawaUi/apply-null

Prune explicit nulls from client-side apply create
This commit is contained in:
Kubernetes Prow Robot
2024-06-27 10:40:14 -07:00
committed by GitHub
5 changed files with 94 additions and 4 deletions

View 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

View File

@@ -0,0 +1,8 @@
kind: ResourceQuota
apiVersion: v1
metadata:
name: my-rq
spec:
hard:
limits.cpu: null
limits.memory: null