mirror of
https://github.com/bitnami/charts.git
synced 2026-03-08 08:47:24 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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 | `""` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user