proper-website-2/.drone/helm/chart/templates/service.yaml

18 lines
380 B
YAML
Raw Normal View History

2022-03-12 17:47:01 +01:00
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.service.name }}
namespace: {{ .Release.Namespace }}
2022-03-12 19:57:43 +01:00
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
2022-03-12 17:47:01 +01:00
spec:
selector:
app: {{ .Values.name }}
release: {{ .Values.release }}
ports:
- protocol: TCP
name: http
port: 8000
targetPort: 8000