- Criar repositório e fazer o clone
- Criar o arquivo robotx.txt para evitar bot no repositório
echo -e "User-Agent: *\nDisallow: /"> robots.txt
- Criar o chart
helm create flask-to-learn-containers
- Fazer o lint
helm lint flask-to-learn-containers
- Criar seus templates e configurações do chart
- Criar pacote do helm chart
helm package flask-to-learn-containers
- Criar arquivo de index.yaml para listar todos os pacotes do repositório
helm repo index --url https://robertsilvatech.github.io/helm-charts .
- Enviar alterações pro repositório remoto
- Configurar GitHub Pages
- Acesso o repositório > Settings > Source: Escolha a branch
- O endereço vai ser:
Adicionando o repositório
helm repo add robertsilvatech https://robertsilvatech.github.io/helm-charts
Buscando charts
helm search repo flask-to-learn
Output
NAME CHART VERSION APP VERSION DESCRIPTION
robertsilvatech/flask-to-learn-containers 0.1.0 1.0.0 A Helm chart for Learn Kubernetes and Helm
Para adicionar novos charts no repositório existente use
helm repo index --url https://robertsilvatech.github.io/helm-charts --merge index.yaml .