Skip to content

Commit fb5f448

Browse files
committed
chore(charts): change resources format
1 parent 43a9671 commit fb5f448

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

charts/storage/templates/storage-statefulset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ spec:
5252
- name: console
5353
containerPort: 9001
5454
protocol: TCP
55+
{{- with index .Values "resources" }}
56+
resources:
57+
{{- toYaml . | nindent 10 }}
58+
{{- end }}
5559
livenessProbe:
5660
httpGet:
5761
path: /minio/health/live

charts/storage/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ imagePullPolicy: "Always"
33
imageTag: "canary"
44
imageRegistry: "registry.drycc.cc"
55

6+
resources: {}
7+
# limits:
8+
# cpu: 200m
9+
# memory: 50Mi
10+
# requests:
11+
# cpu: 100m
12+
# memory: 30Mi
13+
614
# The following parameters are configured only when using an on-cluster Minio instance
715
nodeAffinityPreset:
816
key: "drycc.cc/node"

0 commit comments

Comments
 (0)