Skip to content

Commit fc9e2f5

Browse files
committed
Fix namespace to chart namespace
1 parent f322647 commit fc9e2f5

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

charts/ibm-mq/templates/role-binding.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: RoleBinding
44
metadata:
5-
name: pod-labeler-binding
6-
namespace: ready-check
5+
name: label-patcher-binding
6+
labels:
7+
{{- include "ibm-mq.labels" . | nindent 4 }}
78
roleRef:
89
apiGroup: rbac.authorization.k8s.io
910
kind: Role
10-
name: pod-labeler
11+
name: label-patcher
1112
subjects:
1213
- kind: ServiceAccount
1314
name: {{ include "ibm-mq.fullname" ( . ) }}
14-
namespace: ready-check
15+
namespace: {{ .Release.Namespace }}
1516
{{ end -}}

charts/ibm-mq/templates/role.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: Role
44
metadata:
5-
name: pod-labeler
6-
namespace: ready-check
5+
name: label-patcher
6+
labels:
7+
{{- include "ibm-mq.labels" . | nindent 4 }}
78
rules:
89
- apiGroups: [""]
910
resources: ["pods"]

0 commit comments

Comments
 (0)