diff --git a/bitnami/etcd/Chart.yaml b/bitnami/etcd/Chart.yaml index 49ac053cee6aae..ae1cbe0ca99f13 100644 --- a/bitnami/etcd/Chart.yaml +++ b/bitnami/etcd/Chart.yaml @@ -32,4 +32,4 @@ maintainers: name: etcd sources: - https://github.com/bitnami/charts/tree/main/bitnami/etcd -version: 10.5.3 +version: 10.5.4 diff --git a/bitnami/etcd/README.md b/bitnami/etcd/README.md index b360bdda720467..26d25d28472d15 100644 --- a/bitnami/etcd/README.md +++ b/bitnami/etcd/README.md @@ -510,6 +510,7 @@ If you encounter errors when working with persistent volumes, refer to our [trou | `service.peerPortNameOverride` | etcd peer port name override | `""` | | `service.metricsPortNameOverride` | etcd metrics port name override. The metrics port is only exposed when metrics.useSeparateEndpoint is true. | `""` | | `service.loadBalancerIP` | loadBalancerIP for the etcd service (optional, cloud specific) | `""` | +| `service.loadBalancerClass` | loadBalancerClass for the etcd service (optional, cloud specific) | `""` | | `service.loadBalancerSourceRanges` | Load Balancer source ranges | `[]` | | `service.externalIPs` | External IPs | `[]` | | `service.externalTrafficPolicy` | %%MAIN_CONTAINER_NAME%% service external traffic policy | `Cluster` | diff --git a/bitnami/etcd/templates/svc.yaml b/bitnami/etcd/templates/svc.yaml index 5c0f1ffdfd6870..93839c47629663 100644 --- a/bitnami/etcd/templates/svc.yaml +++ b/bitnami/etcd/templates/svc.yaml @@ -26,6 +26,9 @@ spec: {{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerIP)) }} loadBalancerIP: {{ .Values.service.loadBalancerIP }} {{- end }} + {{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerClass)) }} + loadBalancerClass: {{ .Values.service.loadBalancerClass }} + {{- end }} {{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerSourceRanges)) }} loadBalancerSourceRanges: {{- toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }} {{- end }} diff --git a/bitnami/etcd/values.yaml b/bitnami/etcd/values.yaml index f5f0fa1549c4b2..2bd0ba70696b6e 100644 --- a/bitnami/etcd/values.yaml +++ b/bitnami/etcd/values.yaml @@ -580,6 +580,10 @@ service: ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer ## loadBalancerIP: "" + ## @param service.loadBalancerClass loadBalancerClass for the etcd service (optional, cloud specific) + ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class + ## + loadBalancerClass: "" ## @param service.loadBalancerSourceRanges [array] Load Balancer source ranges ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service ## e.g: