Fix collisions with labels and selectors
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2022-11-16 17:28:54 +03:00
parent 7155146e00
commit b143ede98b
5 changed files with 60 additions and 17 deletions

View File

@ -1,9 +1,9 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "n8n.fullname" . }}-webhook
name: {{ include "n8n-webhook.fullname" . }}-webhook
labels:
{{- include "n8n.labels" . | nindent 4 }}
{{- include "n8n-webhook.labels" . | nindent 4 }}
spec:
type: {{ .Values.webhook.service.type }}
ports:
@ -12,4 +12,4 @@ spec:
protocol: TCP
name: http
selector:
{{- include "n8n.selectorLabels" . | nindent 4 }}
{{- include "n8n-webhook.selectorLabels" . | nindent 4 }}