feat: migrate cluster dashboard from legacy k8s-dashboard to Headlamp#21
Open
BetoFandino wants to merge 2 commits intomainfrom
Open
feat: migrate cluster dashboard from legacy k8s-dashboard to Headlamp#21BetoFandino wants to merge 2 commits intomainfrom
BetoFandino wants to merge 2 commits intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR replaces the deprecated
kubernetes-dashboardwith Headlamp, a modern, extensible, and open-source Kubernetes UI from Kubernetes SIGs.Since the original dashboard has been moved to a "retired" status, this migration ensures the Harmony project remains up-to-date with current Kubernetes ecosystem standards.
Key Changes
1. Chart Dependency Update
kubernetes-dashboard(v7.14.0) from thekubernetes-retiredrepository.headlamp(v0.40.0) from thekubernetes-sigsofficial repository.2. Values Configuration
values.yamlto replace thek8sdashboardkey withheadlamp.templates/NOTES.txtto preventnil pointerevaluation errors when legacy dashboard values are absent.Recommended Configuration
Ingress Values
The following configuration is recommended for production-like environments using Nginx Ingress and Cert-Manager.
Security & RBAC
Unlike the previous panel, Headlamp requires explicit authentication. This example provides a GitOps-compatible RBAC configuration that automates token generation for Kubernetes 1.24+ via Secret annotations.
Migration Guide
For existing installations:
Cleanup: The old dashboard will be automatically disabled as the k8sdashboard key is no longer supported.
Activation: Set headlamp.enabled: true in your implementation values and add the configurations in the ingress value shown in the examples.
Authentication: After implementation and if I configure RBAC as shown in the previous steps, retrieve the login token by running:
kubectl -n {namespace} get secret admin-user-token -o jsonpath={.data.token} | base64 -d