py-kms/charts/py-kms/templates/service.yaml
2021-10-07 19:25:16 +01:00

19 lines
463 B
YAML

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