From 388203f49e9dab6b5c2ac276f519ab418dd8659a Mon Sep 17 00:00:00 2001 From: colinlabs Date: Mon, 27 Jun 2022 21:09:42 +0800 Subject: [PATCH] fix: service template do not have namespace (#916) Signed-off-by: colin Co-authored-by: colin --- charts/harbor-operator/templates/service.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/harbor-operator/templates/service.yaml b/charts/harbor-operator/templates/service.yaml index 9017d9e42..0db58ac83 100644 --- a/charts/harbor-operator/templates/service.yaml +++ b/charts/harbor-operator/templates/service.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "chart.fullname" . }} + namespace: {{ .Release.Namespace | quote }} labels: {{- include "chart.labels" . | nindent 4 }} spec: