mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
cli: add doc comments for helm
This commit is contained in:
parent
ac127db79e
commit
3cef9ee74d
@ -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
17
cli/internal/helm/helm.go
Normal 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
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user