Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit a2fecfa

Browse files
committed
Updating operator Helm to make the resource limits configurable
1 parent 0023608 commit a2fecfa

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type: application
66

77
# This is the chart version. This version number should be incremented each time you make changes
88
# to the chart and its templates, including the app version.
9-
version: 0.1.0
9+
version: 0.2.0
1010

1111
# This is the version number of the application being deployed. This version number should be
1212
# incremented each time you make changes to the application.

operator/templates/manager/manager.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,5 @@ spec:
8181
- name: LURCHER_PULL_POLICY
8282
value: {{ .Values.lurcher.image.pullPolicy }}
8383
resources:
84-
limits:
85-
cpu: 100m
86-
memory: 30Mi
87-
requests:
88-
cpu: 100m
89-
memory: 20Mi
84+
{{- toYaml .Values.resources | nindent 12 }}
9085
terminationGracePeriodSeconds: 10

operator/values.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,14 @@ s3:
3535
# Example creation via kubectl:
3636
# kubectl create secret generic my-secret --from-literal=accessKey="******" --from-literal=secretKey="******"
3737
keySecret: my-secret
38+
39+
#
40+
# Config for the operator ressource limits
41+
#
42+
resources:
43+
limits:
44+
cpu: 100m
45+
memory: 30Mi
46+
requests:
47+
cpu: 100m
48+
memory: 20Mi

0 commit comments

Comments
 (0)