Відділ маркетингу підготував анонс першого релізу продукту.
У цьому завданні потрібно створити новий Helm чарт з опціями по замовчуванню, запакувати чарт та створити новий реліз на GitHub. Рекомендується створити та протестувати інструкцію встановлення Helm пакету.
Dear Users, We are excited to announce the first release of the bot-project! This release marks a significant milestone in our journey to provide multi-arch builds and support for Kubernetes installations. To make it easier to deploy and manage, we have created a Helm chart that can be used to install and configure the application on Kubernetes clusters. The Helm chart includes all the necessary configurations and dependencies to get you up and running quickly. In addition to the Helm chart, we have also created a GitHub release that includes the chart package, along with detailed release notes and instructions on how to deploy and use bot-project. This release is available now on our GitHub repository, and we encourage you to check it out. To get started, simply download the Helm chart package from the GitHub release page and use it to install the application on your Kubernetes cluster. You can also view the release notes for more information on new features, bug fixes, and other changes included in this release. Thank you for your support and happy deploying!
Best regards!
- Створіть новий Helm чарт за допомогою команди (приклад розглядається на Coding Session):
helm create <CHART_NAME> 2. Підготуйте файл "values.yaml" у директорії чарту, включивши до нього блок:
image: repository: tag: arch: amd64
Додатково визначте секцію для токену TELE_TOKEN
- Відредагуйте файл "deployment.yaml" у каталозі "templates" та додайте блок з посиланням на образ контейнеру:
spec: template: spec: containers: - name: {{ .Release.Name }} image: {{ .Values.image.repository }}/{{ .Chart.Name }}:{{ .Values.image.tag }}-{{ .Values.image.arch | default "amd64"}}
Додатково створіть блок для змінної середовища TELE_TOKEN із застосуванням Kubernetes secret
- Запакуйте Helm чарт за допомогою команди:
helm package
- Створіть новий реліз GitHub за допомогою інтерактивної команди GitHub CLI (вам може знадобитися GITHUB_TOKEN):
gh release create
- Перевірте створений реліз командою:
gh release list
- Додайте до релізу helm пакет:
gh release upload <CHART_NAME>.tgz
- Протестуйте Helm чарт, встановивши його за допомогою команди:
helm install <CHART_NAME> <CHART_URL>
-
Перевірте чи все необхідне вказано в інструкції та чарт встановлено і працює коректно.
-
Після виконання завдання обов'язково перегляньте і протестуйте Helm пакет, щоб переконатися, що все відповідає вимогам і функціонує коректно, додайте URL-адресу до HELM пакету релізу як відповідь.O