4 name: {{ template "common.servicename" . }}
5 namespace: {{ include "common.namespace" . }}
7 app: {{ template "common.fullname" . }}
8 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
9 release: "{{ .Release.Name }}"
10 heritage: "{{ .Release.Service }}"
13 type: {{ .Values.service.type }}
16 port: {{ default 9042 .Values.config.ports.cql }}
17 targetPort: {{ default 9042 .Values.config.ports.cql }}
19 port: {{ default 9160 .Values.config.ports.thrift }}
20 targetPort: {{ default 9160 .Values.config.ports.thrift }}
21 {{- if .Values.config.ports.agent }}
23 port: {{ .Values.config.ports.agent }}
24 targetPort: {{ .Values.config.ports.agent }}
27 app: {{ template "common.fullname" . }}