diff --git a/bitnami/etcd/Chart.yaml b/bitnami/etcd/Chart.yaml index ecc653338..354bfdb97 100644 --- a/bitnami/etcd/Chart.yaml +++ b/bitnami/etcd/Chart.yaml @@ -25,4 +25,4 @@ name: etcd sources: - https://github.com/bitnami/bitnami-docker-etcd - https://coreos.com/etcd/ -version: 5.5.2 +version: 5.6.0 diff --git a/bitnami/etcd/README.md b/bitnami/etcd/README.md index 5b89b5a18..61d6ae705 100644 --- a/bitnami/etcd/README.md +++ b/bitnami/etcd/README.md @@ -61,6 +61,7 @@ The following tables lists the configurable parameters of the etcd chart and the | `image.debug` | Specify if debug values should be set | `false` | | `nameOverride` | String to partially override etcd.fullname template with a string (will prepend the release name) | `nil` | | `fullnameOverride` | String to fully override etcd.fullname template with a string | `nil` | +| `hostAliases` | Add deployment host aliases | `[]` | | `volumePermissions.enabled` | Enable init container that changes volume permissions in the data directory (for cases where the default k8s `runAsUser` and `fsUser` values do not work) | `false` | | `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` | | `volumePermissions.image.repository` | Init container volume-permissions image name | `bitnami/minideb` | @@ -99,9 +100,9 @@ The following tables lists the configurable parameters of the etcd chart and the | `clusterDomain` | Default Kubernetes cluster domain | `cluster.local` | | `service.type` | Kubernetes Service type | `ClusterIP` | | `service.port` | etcd client port | `2379` | -| `service.clientPortNameOverride` | etcd client port name override | `""` | +| `service.clientPortNameOverride` | etcd client port name override | `""` | | `service.peerPort` | etcd peer port | `2380` | -| `service.peerPortNameOverride` | etcd peer port name override | `""` | +| `service.peerPortNameOverride` | etcd peer port name override | `""` | | `service.nodePorts.clientPort` | Kubernetes etcd client node port | `""` | | `service.nodePorts.peerPort` | Kubernetes etcd peer node port | `""` | | `service.annotations` | Annotations for etcd service | `{}` | @@ -130,9 +131,9 @@ The following tables lists the configurable parameters of the etcd chart and the | `readinessProbe.timeoutSeconds` | When the probe times out | `5` | | `readinessProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded. | `6` | | `readinessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed | `1` | -| `statefulsetLabels` | Extra statefulset labels | `{}` (evaluated as a template) | +| `statefulsetLabels` | Extra statefulset labels | `{}` (evaluated as a template) | | `podAnnotations` | Annotations to be added to pods | `{}` | -| `podLabels` | Extra pod labels | `{}` (evaluated as a template) | +| `podLabels` | Extra pod labels | `{}` (evaluated as a template) | | `podAffinityPreset` | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | | `podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `soft` | | `nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | diff --git a/bitnami/etcd/templates/statefulset.yaml b/bitnami/etcd/templates/statefulset.yaml index b03ed3dfc..a79870805 100644 --- a/bitnami/etcd/templates/statefulset.yaml +++ b/bitnami/etcd/templates/statefulset.yaml @@ -36,7 +36,10 @@ spec: {{- end }} {{- end }} spec: -{{- include "etcd.imagePullSecrets" . | indent 6 }} + {{- include "etcd.imagePullSecrets" . | nindent 6 }} + {{- if .Values.hostAliases }} + hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }} + {{- end }} {{- if .Values.affinity }} affinity: {{- include "etcd.tplValue" (dict "value" .Values.affinity "context" $) | nindent 8 }} {{- else }} diff --git a/bitnami/etcd/values.yaml b/bitnami/etcd/values.yaml index 967a0465b..a43078fcf 100644 --- a/bitnami/etcd/values.yaml +++ b/bitnami/etcd/values.yaml @@ -30,6 +30,7 @@ image: ## Set to true if you would like to see extra information on logs ## It turns BASH and NAMI debugging in minideb and in etcd pod scripts ## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging + ## debug: false ## String to partially override etcd.fullname template (will maintain the release name) @@ -40,6 +41,11 @@ image: ## # fullnameOverride: +## Deployment pod host aliases +## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ +## +hostAliases: [] + ## Init containers parameters: ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section. ## @@ -255,6 +261,7 @@ persistence: ## Persistent Volume selector ## Can specify a label selector to further filter the set of volumes. ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector + ## selector: {} ## Define a disruption budget @@ -332,6 +339,7 @@ podAntiAffinityPreset: soft nodeAffinityPreset: ## Node affinity type ## Allowed values: soft, hard + ## type: "" ## Node label key to match ## E.g. @@ -364,6 +372,7 @@ tolerations: [] ## Name of the priority class to be used by etcd pods, priority class needs to be created beforehand ## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ +## priorityClassName: "" ## Etcd Prometheus exporter configuration @@ -440,6 +449,7 @@ startFromSnapshot: disasterRecovery: enabled: false ## Set to true if you would like to see extra information on logs for snapshotting + ## debug: true cronjob: ## Schedule in Cron format to save snapshots