Merge pull request #837 from Antiarchitect/master

Add affinity rules setting ability to bitnami/etcd.
This commit is contained in:
Juan Ariza Toledano
2018-10-04 09:58:07 +02:00
committed by GitHub
3 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
name: etcd
version: 1.1.3
version: 1.1.4
appVersion: 3.3.9
description: etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines
keywords:

View File

@@ -83,6 +83,7 @@ The following tables lists the configurable parameters of the etcd chart and the
| `persistence.accessMode` | PVC Access Mode for etcd volume | `ReadWriteOnce` |
| `persistence.size` | PVC Storage Request for etcd volume | `8Gi` |
| `persistence.annotations` | Annotations for the PVC | `{}` |
| `affinity` | Affinity and AntiAffinity rules for pod assignment | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `resources` | CPU/Memory resource requests/limits | Memory: `256Mi`, CPU: `250m` |

View File

@@ -47,6 +47,10 @@ spec:
fsGroup: {{ .Values.securityContext.fsGroup }}
runAsUser: {{ .Values.securityContext.runAsUser }}
{{- end }}
{{- if .Values.affinity }}
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}