2021-07-21 20:17:38 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2022-04-19 09:51:34 +00:00
|
|
|
{{- with .Values.service.annotations }}
|
|
|
|
annotations:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2021-07-21 20:17:38 +00:00
|
|
|
labels:
|
|
|
|
{{- include "drone.labels" . | nindent 4 }}
|
2022-04-19 09:51:34 +00:00
|
|
|
name: {{ include "drone.fullname" . }}
|
2021-07-21 20:17:38 +00:00
|
|
|
spec:
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
ports:
|
|
|
|
- port: {{ .Values.service.port }}
|
|
|
|
targetPort: http
|
|
|
|
protocol: TCP
|
|
|
|
name: http
|
|
|
|
selector:
|
|
|
|
{{- include "drone.selectorLabels" . | nindent 4 }}
|