cli: add doc comments for helm

This commit is contained in:
Otto Bittner 2023-03-03 12:43:33 +01:00
parent ac127db79e
commit 3cef9ee74d
3 changed files with 21 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const (
DenyDestructive = false
)
// Client handles interaction with helm.
// Client handles interaction with helm and the cluster.
type Client struct {
config *action.Configuration
kubectl crdClient

17
cli/internal/helm/helm.go Normal file
View File

@ -0,0 +1,17 @@
/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
/*
Package helm provides a higher level interface to the Helm GO SDK.
It is used by the CLI to:
- load embedded charts
- install charts
- update helm releases
- get versions for installed helm releases
- create local backups before running service upgrades
*/
package helm

View File

@ -6,6 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
package helm
// Values for the Cilium Helm releases for AWS.
var awsVals = map[string]any{
"endpointRoutes": map[string]any{
"enabled": true,
@ -44,6 +45,7 @@ var awsVals = map[string]any{
"kubeProxyReplacementHealthzBindAddr": "0.0.0.0:10256",
}
// Values for the Cilium Helm releases for Azure.
var azureVals = map[string]any{
"endpointRoutes": map[string]any{
"enabled": true,
@ -84,6 +86,7 @@ var azureVals = map[string]any{
"kubeProxyReplacementHealthzBindAddr": "0.0.0.0:10256",
}
// Values for the Cilium Helm releases for GCP.
var gcpVals = map[string]any{
"endpointRoutes": map[string]any{
"enabled": true,