Skip to content

Commit

Permalink
feat(kgo): Allow custom requests and limits
Browse files Browse the repository at this point in the history
Signed-off-by: Jintao Zhang <[email protected]>
  • Loading branch information
tao12345666333 committed Mar 8, 2024
1 parent 5e5c0eb commit 102d48a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 1 addition & 6 deletions charts/gateway-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 10m
memory: 128Mi
{{ toYaml .Values.resources | indent 10 }}
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
Expand Down
9 changes: 9 additions & 0 deletions charts/gateway-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@ extraLabels: {}

# Labels to be added to KGO pods
podLabels: {}

resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 10m
memory: 128Mi

Check failure on line 34 in charts/gateway-operator/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test (gateway-operator)

34:1 [empty-lines] too many blank lines (1 > 0)

0 comments on commit 102d48a

Please sign in to comment.