Fix bad naming

Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
juan131
2019-10-03 17:23:37 +02:00
parent e0decc811e
commit f55c48eb77
2 changed files with 2 additions and 2 deletions

View File

@@ -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 | {} |

View File

@@ -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 }}