Azure / Azure/operation-cache-controller

Migrate from `helm/v1-alpha` (deprecated) to `helm/v2-alpha`

Offen
#38 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
2
Forks
7
Ø Merge
3 T. 1 Std.
Gemergte PRs (30 T.)
1

Beschreibung

## :dart: What is the goal?
Stop using the deprecated [helm/v1-alpha](https://book.kubebuilder.io/plugins/available/helm-v1-alpha.html) plugin and migrate this repository to [helm/v2-alpha](https://book.kubebuilder.io/plugins/available/helm-v2-alpha.html).

## 🚀 Why adopt [helm/v2-alpha](https://book.kubebuilder.io/plugins/available/helm-v2-alpha.html)?
- [helm/v1-alpha](https://book.kubebuilder.io/plugins/available/helm-v1-alpha.html) was an initial experimental version created to collect community feedback, and **it is now deprecated**.

- [helm/v2-alpha](https://book.kubebuilder.io/plugins/available/helm-v2-alpha.html) includes bug fixes, improvements, follows common Helm best practices, and adds enhancements from that feedback. It provides a more flexible chart workflow: it generates charts from kustomize output, preserves common customizations, and supports extra options (for example, changing the default chart output path). Also, `values` is now more complete and exposes better configuration options for your consumers.

## :hammer_and_wrench: What are the steps to start using [helm/v2-alpha](https://book.kubebuilder.io/plugins/available/helm-v2-alpha.html)?
1. Copy the current Helm chart into a backup directory (keep it for reference).
2. Make sure you are using the latest local Kubebuilder release: https://github.com/kubernetes-sigs/kubebuilder/releases
3. Delete the current chart directory.
4. Re-generate the Helm scaffolding with: kubebuilder edit --plugins=helm/v2-alpha
5. Compare the new chart with the backup and re-apply any repo-specific changes (if any), like `Chart.yaml` updates or other customizations.

**Note**: _Created automatically after detecting `helm/v1-alpha` in the PROJECT file._

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Untersuche die PROJECT-Datei und das aktuelle Helm-Chart und erstelle anschließend wie beschrieben eine Sicherung. Verwende das neueste lokal installierte Kubebuilder-Release, um `kubebuilder edit --plugins=helm/v2-alpha` auszuführen, vergleiche das neu generierte Chart mit der Sicherung und wende repository-spezifische Anpassungen wie Aktualisierungen von Chart.yaml erneut an.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
helm, kubernetes
Bereich
devops
Issue-Typ
Refactoring
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.