Skip to content

Commit 431637d

Browse files
authored
Fix limitrange definition (#4999)
1 parent ee5595f commit 431637d

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

deploy/cloud-generic/deployment.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,20 @@ spec:
7272
exec:
7373
command:
7474
- /wait-shutdown
75+
76+
---
77+
78+
apiVersion: v1
79+
kind: LimitRange
80+
metadata:
81+
name: ingress-nginx
82+
namespace: ingress-nginx
83+
labels:
84+
app.kubernetes.io/name: ingress-nginx
85+
app.kubernetes.io/part-of: ingress-nginx
86+
spec:
87+
limits:
88+
- min:
89+
memory: 90Mi
90+
cpu: 100m
91+
type: Container

deploy/static/mandatory.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,7 @@ metadata:
287287
app.kubernetes.io/part-of: ingress-nginx
288288
spec:
289289
limits:
290-
- default:
291-
min:
290+
- min:
292291
memory: 90Mi
293292
cpu: 100m
294293
type: Container

0 commit comments

Comments
 (0)