This is an automated email from the ASF dual-hosted git repository.
wilfred-s pushed a commit to branch branch-1.9
in repository https://gitbox.apache.org/repos/asf/yunikorn-release.git
The following commit(s) were added to refs/heads/branch-1.9 by this push:
new 7dd9e54 [YUNIKORN-3130] Role and RoleBinding are missing namespace
tag (#226)
7dd9e54 is described below
commit 7dd9e546f3a79e4938f4eb50be251b39e7e604fc
Author: Wilfred Spiegelenburg <[email protected]>
AuthorDate: Thu Jun 11 13:13:43 2026 +1000
[YUNIKORN-3130] Role and RoleBinding are missing namespace tag (#226)
Closes: #226
Signed-off-by: Wilfred Spiegelenburg <[email protected]>
(cherry picked from commit b19f760ad7de7b41c4ceef7c86f734989faabd14)
---
helm-charts/yunikorn/templates/admission-controller-rbac.yaml | 2 ++
helm-charts/yunikorn/templates/rbac.yaml | 2 ++
2 files changed, 4 insertions(+)
diff --git a/helm-charts/yunikorn/templates/admission-controller-rbac.yaml
b/helm-charts/yunikorn/templates/admission-controller-rbac.yaml
index 17d203f..e3f7919 100644
--- a/helm-charts/yunikorn/templates/admission-controller-rbac.yaml
+++ b/helm-charts/yunikorn/templates/admission-controller-rbac.yaml
@@ -50,6 +50,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: yunikorn-admission-controller-role
+ namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "1"
@@ -81,6 +82,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: yunikorn-admission-controller-rbac
+ namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "2"
diff --git a/helm-charts/yunikorn/templates/rbac.yaml
b/helm-charts/yunikorn/templates/rbac.yaml
index 558b9e5..af73478 100644
--- a/helm-charts/yunikorn/templates/rbac.yaml
+++ b/helm-charts/yunikorn/templates/rbac.yaml
@@ -53,6 +53,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: yunikorn-scheduler
+ namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "1"
@@ -120,6 +121,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: yunikorn-rbac
+ namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "2"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]