diff --git a/bitnami/cassandra/README.md b/bitnami/cassandra/README.md index eaeb32fe26..ec978b4a41 100644 --- a/bitnami/cassandra/README.md +++ b/bitnami/cassandra/README.md @@ -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 | {} | diff --git a/bitnami/cassandra/templates/service.yaml b/bitnami/cassandra/templates/service.yaml index 39a39c0837..a8c48bc186 100644 --- a/bitnami/cassandra/templates/service.yaml +++ b/bitnami/cassandra/templates/service.yaml @@ -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 }}