[stable/odoo] Add affinity (#16849)

* [stable/odoo] Add affinity

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add new line

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2019-09-05 03:20:39 -07:00
committed by Kubernetes Prow Robot
parent 1ae1afe4b1
commit f0db460d8f
4 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: odoo
version: 11.0.1
version: 11.1.0
appVersion: 12.0.20190815
description: A suite of web based open source business apps.
home: https://www.odoo.com/
+1
View File
@@ -111,6 +111,7 @@ The following table lists the configurable parameters of the Odoo chart and thei
| `readinessProbe.timeoutSeconds` | When the probe times out | 5 |
| `readinessProbe.failureThreshold` | Minimum consecutive failures to be considered failed | 6 |
| `readinessProbe.successThreshold` | Minimum consecutive successes to be considered successful | 1 |
| `affinity` | Map of node/pod affinities | `{}` |
The above parameters map to the env variables defined in [bitnami/odoo](http://github.com/bitnami/bitnami-docker-odoo). For more information please refer to the [bitnami/odoo](http://github.com/bitnami/bitnami-docker-odoo) image documentation.
+4
View File
@@ -104,3 +104,7 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
+5
View File
@@ -219,3 +219,8 @@ readinessProbe:
timeoutSeconds: 5
failureThreshold: 6
successThreshold: 1
## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
affinity: {}