You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
618 B

apiVersion: v1
kind: Service
metadata:
name: svc-{{ include "textbee.fullname" .}}-api
labels:
app: textbee-api
{{- include "textbee.labels" . | nindent 4 }}
{{- if .Values.api.service.labels }}
{{- toYaml .Values.api.service.labels | nindent 4 }}
{{- end }}
{{- if .Values.api.service.annotations }}
annotations:
{{- toYaml .Values.api.service.annotations | nindent 4 }}
{{- end }}
spec:
selector:
app: {{ include "textbee.fullname" .}}-api
ports:
- port: {{ .Values.api.service.port }}
targetPort: {{ .Values.api.service.port }}
type: {{ .Values.api.service.type }}