You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed default ClusterRoleBinding creation from create: true to
create: false and removed default cluster-admin role
Added pre-upgrade hook to automatically clean up the old
headlamp-admin ClusterRoleBinding during upgrades
Updated ClusterRoleBinding name from {fullname}-admin to
{fullname} and added required field validation
Updated documentation (README, NOTES.txt, Chart.yaml) to
reflect the security changes
Added comprehensive tests for the pre-upgrade hook functionality
description: The default ClusterRoleBinding is no longer created by default (ClusterRoleBinding creation is now disabled). Users who want a ClusterRoleBinding must now explicitly enable it and provide a clusterRoleName value, as the default clusterRoleName is now empty.
34
+
- kind: added
35
+
description: Pre-upgrade hook automatically removes old ClusterRoleBinding during upgrades
Starting from version 0.39.0, the chart implements enhanced security by default:
61
+
62
+
-**Removed Permissions**: The default ClusterRoleBinding creation has been disabled (`create: false`), removing the previous `cluster-admin` binding.
63
+
64
+
**Automatic Migration**: A pre-upgrade hook automatically removes the old `headlamp-admin` ClusterRoleBinding during upgrades to help migrate to the new security configuration. The hook only removes ClusterRoleBindings that were created by Helm, preserving any user-created resources with the same name.
name: {{ required "clusterRoleBinding.clusterRoleName is required when clusterRoleBinding.create is true" .Values.clusterRoleBinding.clusterRoleName }}
16
16
subjects:
17
17
- kind: ServiceAccount
18
18
name: {{ include "headlamp.serviceAccountName" . }}
0 commit comments