mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 16:17:21 +08:00
@@ -71,7 +71,7 @@ The following tables lists the configurable parameters of the cassandra chart an
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.port` | CQL Port for the Kubernetes service | `9042` |
|
||||
| `service.thriftPort` | Thrift Port for the Kubernetes service | `9160` |
|
||||
| `service.nodePorts.http` | Kubernetes CQL node port | `""` |
|
||||
| `service.nodePorts.cql` | Kubernetes CQL node port | `""` |
|
||||
| `service.nodePorts.rcp` | Kubernetes Thrift node port | `""` |
|
||||
| `service.loadBalancerIP` | LoadBalancerIP if service type is `LoadBalancer` | `nil` |
|
||||
| `service.annotations` | Annotations for the service | {} |
|
||||
|
||||
@@ -21,7 +21,7 @@ spec:
|
||||
port: {{ .Values.service.port }}
|
||||
targetPort: cql
|
||||
{{- if (and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePorts.cql)))}}
|
||||
nodePort: {{ .Values.service.nodePorts.http }}
|
||||
nodePort: {{ .Values.service.nodePorts.cql }}
|
||||
{{- else if eq .Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user