Azure / Azure/operation-cache-controller

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

Aperta
#38 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
2
Fork
7
Merge medio
3g 1h
PR unite (30g)
1

Descrizione

## :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._

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Ispeziona il file PROJECT e il chart Helm corrente, quindi crea un backup come descritto. Usa l'ultima release locale di Kubebuilder per eseguire `kubebuilder edit --plugins=helm/v2-alpha`, confronta il chart rigenerato con il backup e riapplica le personalizzazioni specifiche del repository, come gli aggiornamenti di Chart.yaml.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
helm, kubernetes
Ambito
devops
Tipo di issue
Refactoring
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.