Markus Pesch
fc2dd72561
All checks were successful
continuous-integration/drone/push Build is passing
20 lines
457 B
YAML
20 lines
457 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
{{- with .Values.service.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- include "drone.labels" . | nindent 4 }}
|
|
name: {{ include "drone.fullname" . }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "drone.selectorLabels" . | nindent 4 }}
|