Files
common/starter/templates/service.yaml
Konstantin Grachev 6342d7be31
All checks were successful
continuous-integration/drone/push Build is passing
cs: fix
2023-03-02 23:44:38 +03:00

16 lines
350 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "common.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "common.selectorLabels" . | nindent 4 }}