fix: decouple service from drone config

This commit is contained in:
2022-05-16 20:38:45 +02:00
parent 925c713364
commit d968cce280
3 changed files with 8 additions and 6 deletions

View File

@ -29,8 +29,8 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{ .Values.config.DRONE_SERVER_PROTO | default "http" }}
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: {{ .Values.config.DRONE_SERVER_PROTO | default "http" }}
name: {{ .Values.service.name }}
selector:
{{- include "drone.selectorLabels" . | nindent 4 }}