Skip to content

Commit 8008159

Browse files
Merge pull request #513 from bergmannf/add-limitrange
[SREP-703] Add a limitrange to CAD.
2 parents 8fc38a6 + 793490e commit 8008159

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

openshift/template.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,3 +416,22 @@ objects:
416416
subjects:
417417
- kind: ServiceAccount
418418
name: cad-tekton-pruner
419+
- apiVersion: v1
420+
kind: LimitRange
421+
metadata:
422+
name: cad-limitrange
423+
spec:
424+
limits:
425+
- default: # The default limits
426+
cpu: 500m
427+
memory: 256Mi
428+
defaultRequest: # The default requests
429+
cpu: 100m
430+
memory: 128Mi
431+
max: # The maximum limits
432+
cpu: 1
433+
memory: 1Gi
434+
min: # The minimum requests
435+
cpu: 1m
436+
memory: 32Mi
437+
type: Container

0 commit comments

Comments
 (0)