From c6a9d656f5897e752131bfbe403c514ad1d39d27 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 14 Aug 2025 11:00:13 -0400 Subject: [PATCH] add missing labels to CR and CRB --- deploy/charts/harbor-container-webhook/templates/rbac.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy/charts/harbor-container-webhook/templates/rbac.yaml b/deploy/charts/harbor-container-webhook/templates/rbac.yaml index 0727b6c..d793a41 100644 --- a/deploy/charts/harbor-container-webhook/templates/rbac.yaml +++ b/deploy/charts/harbor-container-webhook/templates/rbac.yaml @@ -2,6 +2,8 @@ kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ include "harbor-container-webhook.fullname" . }} + labels: + {{- include "harbor-container-webhook.labels" . | nindent 4 }} rules: - apiGroups: [""] resources: @@ -22,6 +24,8 @@ kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ include "harbor-container-webhook.fullname" . }} + labels: + {{- include "harbor-container-webhook.labels" . | nindent 4 }} roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole