mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/nats] Configure number of connect retries for implicit routes (#20642)
* made number of connect retries for implicit routes configurable Signed-off-by: Klaus Schäffer <schaeffer@linkbit.io> * fixed connectRetries location and added comment Signed-off-by: Klaus Schäffer <schaeffer@linkbit.io> * bumped version and set readme Signed-off-by: devKlausS <schaeffer@linkbit.io> Signed-off-by: Klaus Schäffer <schaeffer@linkbit.io> * removed trailing slash Signed-off-by: Klaus Schäffer <schaeffer@linkbit.io> * removed trailing slash Signed-off-by: Klaus Schäffer <schaeffer@linkbit.io> * Update stable/nats/Chart.yaml Co-Authored-By: Carlos Rodríguez Hernández <carrodher1179@gmail.com> Signed-off-by: Klaus Schäffer <schaeffer@linkbit.io> * removed empty line Signed-off-by: Klaus Schäffer <schaeffer@linkbit.io> Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>
This commit is contained in:
co-authored by
Carlos Rodríguez Hernández
parent
8f30192e5d
commit
eec48c2569
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: nats
|
||||
version: 4.2.13
|
||||
version: 4.3.0
|
||||
appVersion: 2.1.4
|
||||
description: An open-source, cloud-native messaging system
|
||||
keywords:
|
||||
|
||||
@@ -108,6 +108,7 @@ The following table lists the configurable parameters of the NATS chart and thei
|
||||
| `cluster.service.nodePort` | Port to bind to for NodePort service type (NATS cluster) | `nil` |
|
||||
| `cluster.service.annotations` | Annotations for NATS cluster service | {} |
|
||||
| `cluster.service.loadBalancerIP` | loadBalancerIP if NATS cluster service type is `LoadBalancer` | `nil` |
|
||||
| `cluster.connectRetries` | Configure number of connect retries for implicit routes | `nil` |
|
||||
| `monitoring.service.type` | Kubernetes Service type (NATS monitoring) | `ClusterIP` |
|
||||
| `monitoring.service.port` | NATS monitoring port | `8222` |
|
||||
| `monitoring.service.nodePort` | Port to bind to for NodePort service type (NATS monitoring) | `nil` |
|
||||
|
||||
@@ -81,4 +81,9 @@ data:
|
||||
nats://{{ template "nats.fullname" . }}-cluster:{{ .Values.cluster.service.port }}
|
||||
{{- end }}
|
||||
]
|
||||
|
||||
{{- if .Values.cluster.connectRetries }}
|
||||
# Configure number of connect retries for implicit routes
|
||||
connect_retries: {{ .Values.cluster.connectRetries }}
|
||||
{{- end }}
|
||||
}
|
||||
|
||||
@@ -200,6 +200,10 @@ client:
|
||||
## ref: https://github.com/nats-io/gnatsd#clustering
|
||||
##
|
||||
cluster:
|
||||
## Use connectRetries to configure number of connect retries for implicit routes,
|
||||
## otherwise leave blank
|
||||
##
|
||||
# connectRetries:
|
||||
service:
|
||||
## Kubernetes service type
|
||||
type: ClusterIP
|
||||
|
||||
@@ -200,6 +200,10 @@ client:
|
||||
## ref: https://github.com/nats-io/gnatsd#clustering
|
||||
##
|
||||
cluster:
|
||||
## Use connectRetries to configure number of connect retries for implicit routes,
|
||||
## otherwise leave blank
|
||||
##
|
||||
# connectRetries:
|
||||
service:
|
||||
## Kubernetes service type
|
||||
type: ClusterIP
|
||||
|
||||
Reference in New Issue
Block a user