| name: {{ template "common.servicename" . }} |
| namespace: {{ include "common.namespace" . }} |
| app: {{ template "common.fullname" . }} |
| chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| release: "{{ .Release.Name }}" |
| heritage: "{{ .Release.Service }}" |
| type: {{ .Values.service.type }} |
| port: {{ default 9042 .Values.config.ports.cql }} |
| targetPort: {{ default 9042 .Values.config.ports.cql }} |
| port: {{ default 9160 .Values.config.ports.thrift }} |
| targetPort: {{ default 9160 .Values.config.ports.thrift }} |
| {{- if .Values.config.ports.agent }} |
| port: {{ .Values.config.ports.agent }} |
| targetPort: {{ .Values.config.ports.agent }} |
| app: {{ template "common.fullname" . }} |