Skip to content

Commit

Permalink
[bitnami/etcd] Add loadBalancerClass for Etcd chart (bitnami#30697)
Browse files Browse the repository at this point in the history
* Add loadBalancerClass for etcd chart

Signed-off-by: Mykyta Sigevsky <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update bitnami/etcd/Chart.yaml

Co-authored-by: David Gomez <[email protected]>
Signed-off-by: Mykyta Sigevsky <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Mykyta Sigevsky <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
Co-authored-by: David Gomez <[email protected]>
  • Loading branch information
3 people authored Dec 2, 2024
1 parent 79b92ab commit 7ee741a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
8 changes: 6 additions & 2 deletions bitnami/etcd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 10.5.3 (2024-11-12)
## 10.6.0 (2024-12-02)

* [bitnami/etcd] Release 10.5.3 ([#30432](https://github.com/bitnami/charts/pull/30432))
* [bitnami/etcd] Add loadBalancerClass for Etcd chart ([#30697](https://github.com/bitnami/charts/pull/30697))

## <small>10.5.3 (2024-11-12)</small>

* [bitnami/etcd] Release 10.5.3 (#30432) ([5f6b173](https://github.com/bitnami/charts/commit/5f6b173360444a3d78b365f7346c373338db5a90)), closes [#30432](https://github.com/bitnami/charts/issues/30432)

## <small>10.5.2 (2024-11-07)</small>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/etcd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ maintainers:
name: etcd
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/etcd
version: 10.5.3
version: 10.6.0
1 change: 1 addition & 0 deletions bitnami/etcd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
3 changes: 3 additions & 0 deletions bitnami/etcd/templates/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions bitnami/etcd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7ee741a

Please sign in to comment.