Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prasadg193/helm-clientgo-example
helm client-go example to add helm repo, fetch charts and install chart
https://github.com/prasadg193/helm-clientgo-example
client-go client-go-sample go-sdk helm helm3
Last synced: about 2 months ago
JSON representation
helm client-go example to add helm repo, fetch charts and install chart
- Host: GitHub
- URL: https://github.com/prasadg193/helm-clientgo-example
- Owner: PrasadG193
- License: apache-2.0
- Created: 2019-11-17T06:22:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-28T12:20:04.000Z (over 2 years ago)
- Last Synced: 2024-10-16T08:51:56.605Z (2 months ago)
- Topics: client-go, client-go-sample, go-sdk, helm, helm3
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 38
- Watchers: 3
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# helm-clientgo-example
This example program demonstrates helm operations for managing helm charts, such as adding helm repo, fetching helm charts and installing a helm chart
Running this example does the following operations:
- Adds helm chart repo with name `stable` and url `https://kubernetes-charts.storage.googleapis.com`
_(equivalent to `helm repo add stable https://kubernetes-charts.storage.googleapis.com`)_- Fetches latest helm charts from stable helm repo
_(equivalent to `helm repo update`)_- Installs `mysql` helm chart into `mysql-test` namespace with values
_(equivalent to `helm install -n mysql --namespace mysql-test stable/mysql --set mysqlRootPassword=admin@123,persistence.enabled=false,imagePullPolicy=Always`)_## Running the example
- Create namespace `mysql-test`
```
kubectl create ns mysql-test
```
- Run the program with `go run main.go`