[stable/owncloud] Add affinity (#16841)

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2019-09-05 03:19:41 -07:00
committed by Kubernetes Prow Robot
parent 92f01756c6
commit 5d64b1ebc0
4 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: owncloud
version: 6.1.3
version: 6.2.0
appVersion: 10.2.1
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
+1
View File
@@ -95,6 +95,7 @@ The following table lists the configurable parameters of the ownCloud chart and
| `persistence.owncloud.size` | PVC Storage Request for ownCloud volume | `8Gi` |
| `resources` | CPU/Memory resource requests/limits | Memory: `512Mi`, CPU: `300m` |
| `podAnnotations` | Pod annotations | `{}` |
| `affinity` | Map of node/pod affinities | `{}` |
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
| `metrics.image.registry` | Apache exporter image registry | `docker.io` |
| `metrics.image.repository` | Apache exporter image name | `bitnami/apache-exporter` |
@@ -142,4 +142,8 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- end -}}
+6
View File
@@ -230,6 +230,12 @@ resources:
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations: {}
## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
affinity: {}
## Prometheus Exporter / Metrics
##
metrics: