wkd4pgp/deploy/wkd4pgp/templates/service.yaml

17 lines
408 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "wkd4pgp.fullname" . }}
labels:
{{ include "wkd4pgp.labels" . | indent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: {{ include "wkd4pgp.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}