helm-clientgo

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

helm-clientgo go package

This pakcage provide several functions for helm operations to manage helm charts and repo.

  • Add Helm chart repo
  • Update Helm chart repo
  • Install chart (download from repo)
  • Uninstall 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL