Browse Source
allow specifying resources on minio, redis deployments
pull/7496/head
Thomas Weiß
4 years ago
No known key found for this signature in database
GPG Key ID: F711E902271C8BA
3 changed files with
10 additions and
2 deletions
-
charts/budibase/templates/minio-service-deployment.yaml
-
charts/budibase/templates/redis-service-deployment.yaml
-
charts/budibase/values.yaml
|
|
|
@ -56,7 +56,10 @@ spec: |
|
|
|
name: minio-service |
|
|
|
ports: |
|
|
|
- containerPort: {{ .Values.services.objectStore.port }} |
|
|
|
resources: {} |
|
|
|
{{ with .Values.services.objectStore.resources }} |
|
|
|
resources: |
|
|
|
{{- toYaml . | nindent 10 }} |
|
|
|
{{ end }} |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /data |
|
|
|
name: minio-data |
|
|
|
|
|
|
|
@ -35,7 +35,10 @@ spec: |
|
|
|
name: redis-service |
|
|
|
ports: |
|
|
|
- containerPort: {{ .Values.services.redis.port }} |
|
|
|
resources: {} |
|
|
|
{{ with .Values.services.redis.resources }} |
|
|
|
resources: |
|
|
|
{{- toYaml . | nindent 10 }} |
|
|
|
{{ end }} |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /data |
|
|
|
name: redis-data |
|
|
|
|
|
|
|
@ -164,6 +164,7 @@ services: |
|
|
|
## If undefined (the default) or set to null, no storageClassName spec is |
|
|
|
## set, choosing the default provisioner. |
|
|
|
storageClass: "" |
|
|
|
resources: {} |
|
|
|
|
|
|
|
objectStore: |
|
|
|
minio: true |
|
|
|
@ -180,6 +181,7 @@ services: |
|
|
|
## If undefined (the default) or set to null, no storageClassName spec is |
|
|
|
## set, choosing the default provisioner. |
|
|
|
storageClass: "" |
|
|
|
resources: {} |
|
|
|
|
|
|
|
# Override values in couchDB subchart |
|
|
|
couchdb: |
|
|
|
|