Skip to content

Commit e9f6e01

Browse files
committed
Chart: make resources configurable, default 512Mi (was hardcoded 128Mi)
1 parent eca281d commit e9f6e01

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

‎chart/helm/templates/deployment.yaml‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,10 @@ spec:
5757
port: 8081
5858
initialDelaySeconds: 5
5959
periodSeconds: 10
60+
{{- with .Values.resources }}
6061
resources:
61-
limits:
62-
cpu: 500m
63-
memory: 128Mi
64-
requests:
65-
cpu: 10m
66-
memory: 64Mi
62+
{{- toYaml . | nindent 10 }}
63+
{{- end }}
6764
{{- if and .Values.apiServer.enabled (eq .Values.apiServer.mode "production") }}
6865
volumeMounts:
6966
- name: tls

‎chart/helm/values.yaml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ image:
33
tag: latest
44
pullPolicy: Always
55

6+
# Container resources — 512Mi minimum recommended for clusters with 50+ secrets.
7+
# Unfiltered Secret sources load all cluster secrets into memory for join evaluation.
8+
resources:
9+
limits:
10+
cpu: 500m
11+
memory: 512Mi
12+
requests:
13+
cpu: 10m
14+
memory: 128Mi
15+
616
# RBAC configuration
717
rbac:
818
# Mode: "wildcard" or "aggregated"

0 commit comments

Comments
 (0)