Convert dashboard addon from static YAML to Helm-based installation - #3
Draft
divysinghvi with Copilot wants to merge 6 commits into
Draft
Convert dashboard addon from static YAML to Helm-based installation#3divysinghvi with Copilot wants to merge 6 commits into
divysinghvi with Copilot wants to merge 6 commits into
Conversation
- Replace static YAML assets with HelmChart definition - Add RepoURL support to HelmChart struct for dynamic repo addition - Update helm.go to add and update Helm repositories before install - Configure kubernetes-dashboard v7.x from official Helm repository - Update helm_test.go with mock runner for testing - Dashboard now uses kubernetes-dashboard/kubernetes-dashboard chart - Enable metricsScraper, disable nginx and cert-manager for minikube Co-authored-by: divysinghvi <75575922+divysinghvi@users.noreply.github.com>
- Add comprehensive comments to dashboard addon explaining v7.x changes - Document Helm-based approach and authentication requirements - Add usage instructions for accessing dashboard - Improve HelmChart struct documentation with examples - Add detailed comments to installHelmChart function - Format code with gofmt Co-authored-by: divysinghvi <75575922+divysinghvi@users.noreply.github.com>
- Add comprehensive README.md explaining the migration - Document breaking changes and authentication requirements - Provide access instructions for users - Explain benefits of Helm-based approach - Mark old YAML files as deprecated Co-authored-by: divysinghvi <75575922+divysinghvi@users.noreply.github.com>
- Fix repo name extraction to properly parse from Repo field - Add strings import to helm.go - Update mockRunner to implement full Runner interface - Add test for repo name extraction logic - All tests passing Co-authored-by: divysinghvi <75575922+divysinghvi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Convert Kubernetes Dashboard addon to Helm-based installation
Convert dashboard addon from static YAML to Helm-based installation
Dec 21, 2025
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
Converts the Kubernetes Dashboard addon from static YAML manifests (v2.7.0) to Helm-based deployment using the official upstream Helm chart (v7.x). Enables easier version tracking and aligns with Minikube's Helm addon framework.
Changes
Enhanced Helm Framework (
pkg/addons/helm.go)RepoURLfield toHelmChartstruct for standard Helm repositorieshelm repo addandhelm repo updatebefore chart installationkubernetes-dashboardfromkubernetes-dashboard/kubernetes-dashboard)Dashboard Addon (
pkg/minikube/assets/addons.go)BinAssetYAML files with singleHelmChartconfigurationkubernetes-dashboard/kubernetes-dashboardfromhttps://kubernetes.github.io/dashboard/Tests (
pkg/addons/helm_test.go)mockRunnerto implement fullRunnerinterfaceExample
Breaking Change
Dashboard v7.x requires authentication—
--enable-skip-loginflag removed by upstream for security. Users should useminikube dashboardcommand (handles token automatically) or manually create token:kubectl -n kubernetes-dashboard create token kubernetes-dashboard.Benefits
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/kubernetes/dashboard/contents/charts/usr/bin/curl curl -s REDACTED grep -l on.*helm s/timeToK8s/v1.31.0.md nfig/composer/vendor/bin/grep(http block)https://api.github.com/repos/kubernetes/dashboard/releases/usr/bin/curl curl -s REDACTED grep -l on.*helm s/timeToK8s/v1.25.1.md /snap/bin/grep(http block)https://api.github.com/repos/kubernetes/dashboard/releases/latest/usr/bin/curl curl -s REDACTED grep -l on.*helm s/timeToK8s/v1.25.0.md /home/REDACTED/.local/bin/grep(http block)hub.helm.sh/usr/local/bin/helm helm search hub kubernetes-dashboard --max-col-width=0 on.*helm s/timeToK8s/v1.29.0.md ep(dns block)kubernetes.github.io/usr/bin/curl curl -s REDACTED grep -l on.*helm s/timeToK8s/v1.32.0.md rep(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.