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

17 lines
399 B
YAML

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