Skip to content

Commit 017e8fb

Browse files
JustinKuliopenshift-merge-robot
authored andcommitted
Rename the framework's ClusterRoleBinding
This ClusterRoleBinding previously pointed to a (now nonexistent) *-crd ClusterRole. Kubernetes will not accept edits to the roleRef in a ClusterRoleBinding, so during an upgrade, the ManifestWork would fail to be applied correctly, and the framework addon could not function. Renaming this will make the old binding be deleted, and the new binding will be applied properly with the new configuration. Refs: - https://issues.redhat.com/browse/ACM-5383 Signed-off-by: Justin Kulikauskas <[email protected]>
1 parent 2603663 commit 017e8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/addon/policyframework/manifests/managedclusterchart/templates/cluster_role_binding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
apiVersion: rbac.authorization.k8s.io/v1
44
kind: ClusterRoleBinding
55
metadata:
6-
name: ocm:{{ .Release.Namespace }}:{{ include "controller.fullname" . }}
6+
name: ocm:{{ .Release.Namespace }}:{{ include "controller.fullname" . }}-0
77
labels:
88
app: {{ include "controller.fullname" . }}
99
chart: {{ include "controller.chart" . }}

0 commit comments

Comments
 (0)