Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchValues ¶
FetchValues fetches the ArgoCD chart values.yaml from GitHub for the given version. Version can be a branch name (e.g. "main") or a tag (e.g. "v0.1.6").
func ParseComponents ¶
func ParseComponents(valuesYAML []byte) (global []ComponentKey, site []ComponentKey, err error)
ParseComponents extracts component keys from the global and site blocks of values.yaml. It returns separate lists for global and site components.
Types ¶
type ComponentKey ¶
type ComponentKey struct {
Key string // original key, e.g. "cert_manager"
Name string // hyphenated name, e.g. "cert-manager"
UsesInstallOpts bool // true if component uses installApp/installConfigs instead of enabled
}
ComponentKey represents a component found in the values.yaml.