[bitnami/etcd] Adding the possibility to disable service (#7371)

* Adding possibility to disable service who expose cluster

* Adding .Values.service.enable bool set by default to true (service by default activated)

* Update Chart.yaml

* Update README.md

* Update Chart.yaml

* Give the 6.7.0 version to the etcd chart

* Update svc.yaml

* Change the var from `.Values.service.enable` to `.Values.service.enabled`

* Update README.md

* Change value from `.Values.service.enable` to `.Values.service.enabled`

* Update values.yaml

* Update enabled variable

* Update values.yaml
This commit is contained in:
glagny
2021-09-02 15:28:47 +02:00
committed by GitHub
parent 428b1546ba
commit 91e80b3bfd
4 changed files with 7 additions and 1 deletions

View File

@@ -25,4 +25,4 @@ name: etcd
sources:
- https://github.com/bitnami/bitnami-docker-etcd
- https://coreos.com/etcd/
version: 6.6.2
version: 6.7.0

View File

@@ -176,6 +176,7 @@ The command removes all the Kubernetes components associated with the chart and
| Name | Description | Value |
| ---------------------------------- | --------------------------------------------------------------------------------- | ----------- |
| `service.type` | Kubernetes Service type | `ClusterIP` |
| `service.enabled` | Enable/Disable second service who allow ressources to reach etcd cluster | `true` |
| `service.clusterIP` | Kubernetes service Cluster IP | `""` |
| `service.port` | etcd client port | `2379` |
| `service.clientPortNameOverride` | etcd client port name override | `""` |

View File

@@ -1,3 +1,4 @@
{{- if .Values.service.enabled }}
apiVersion: v1
kind: Service
metadata:
@@ -46,3 +47,4 @@ spec:
nodePort: null
{{- end }}
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
{{- end }}

View File

@@ -426,6 +426,9 @@ service:
## @param service.type Kubernetes Service type
##
type: ClusterIP
## @param service.enabled create second service if equal true
##
enabled: true
## @param service.clusterIP Kubernetes service Cluster IP
## e.g.:
## clusterIP: None