allow specifying resources on minio, redis deployments
This commit is contained in:
parent
bad727cc95
commit
3295c14679
|
@ -56,7 +56,10 @@ spec:
|
||||||
name: minio-service
|
name: minio-service
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.services.objectStore.port }}
|
- containerPort: {{ .Values.services.objectStore.port }}
|
||||||
resources: {}
|
{{ with .Values.services.objectStore.resources }}
|
||||||
|
resources:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{ end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: minio-data
|
name: minio-data
|
||||||
|
|
|
@ -35,7 +35,10 @@ spec:
|
||||||
name: redis-service
|
name: redis-service
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.services.redis.port }}
|
- containerPort: {{ .Values.services.redis.port }}
|
||||||
resources: {}
|
{{ with .Values.services.redis.resources }}
|
||||||
|
resources:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{ end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: redis-data
|
name: redis-data
|
||||||
|
|
|
@ -164,6 +164,7 @@ services:
|
||||||
## If undefined (the default) or set to null, no storageClassName spec is
|
## If undefined (the default) or set to null, no storageClassName spec is
|
||||||
## set, choosing the default provisioner.
|
## set, choosing the default provisioner.
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
|
resources: {}
|
||||||
|
|
||||||
objectStore:
|
objectStore:
|
||||||
minio: true
|
minio: true
|
||||||
|
@ -180,6 +181,7 @@ services:
|
||||||
## If undefined (the default) or set to null, no storageClassName spec is
|
## If undefined (the default) or set to null, no storageClassName spec is
|
||||||
## set, choosing the default provisioner.
|
## set, choosing the default provisioner.
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
|
resources: {}
|
||||||
|
|
||||||
# Override values in couchDB subchart
|
# Override values in couchDB subchart
|
||||||
couchdb:
|
couchdb:
|
||||||
|
|
Loading…
Reference in New Issue