helmvalues

package
v0.14.0-experiment-98d0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ValuesKey       = "values"
	StagedValuesKey = "stagedValues"
)

Variables

This section is empty.

Functions

func ClearOptions

func ClearOptions(bd *fleet.BundleDeployment)

ClearOptions removes values from the new bundle deployment

func ClearValues

func ClearValues(bundle *fleet.Bundle)

ClearValues removes the values from a bundle. It mutates the bundle.

func ExtractOptions

func ExtractOptions(bd *fleet.BundleDeployment) (string, []byte, []byte, error)

ExtractOptions extracts the values from options in a bundle deployment.

func ExtractValues

func ExtractValues(bundle *fleet.Bundle) (string, map[string][]byte, error)

ExtractValues extracts the values from the bundle and returns the values and a hash.

func HashOptions

func HashOptions(bytes ...[]byte) string

HashOptions hashes the bytes passed in. This is used to create a hash of the bundledeployment's helm options and staged helm options.

func HashValuesSecret

func HashValuesSecret(data map[string][]byte) (string, error)

HashValuesSecret hashes the data of a secret. This is used for the bundle values secret created by fleet apply to detect changes and trigger updates.

func SetOptions

func SetOptions(bd *fleet.BundleDeployment, data map[string][]byte) error

SetOptions sets the values in the options of the bundle deployment from the data map. It mutates the bundle deployment. It sets the staged options, however they are not used by the agent.

func SetValues

func SetValues(bundle *fleet.Bundle, data map[string][]byte) error

SetValues sets the values in the bundle from the data map. It mutates the bundle.

Types

This section is empty.

Jump to

Keyboard shortcuts

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