charts/library/common/templates/_service.yaml
2023-01-03 16:19:01 +00:00

14 lines
267 B
YAML

{{ define "common.service" }}
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.common.fullname }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
{{- end }}