svelte-testing/.drone/helm/chart/templates/service.yaml
DutchEllie 2091723b40
Some checks failed
continuous-integration/drone/push Build is failing
Add pipeline
2022-07-01 15:00:51 +02:00

18 lines
430 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ tpl .Values.service.name . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
selector:
app: {{ .Values.name }}
release: {{ .Values.release }}
ports:
- protocol: TCP
name: http
port: {{ .Values.service.port }}
targetPort: {{ .Values.service.port }}