k8s-charts/charts/cinny/templates/service.yaml

16 lines
355 B
YAML
Raw Normal View History

2022-11-17 22:41:49 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "cinny.fullname" . }}
labels:
{{- include "cinny.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "cinny.selectorLabels" . | nindent 4 }}