Documentation
¶
Overview ¶
Package argocdinstaller installs Argo CD via Helm.
Index ¶
Constants ¶
const (
// SopsAgeSecretName is the name of the Kubernetes secret used for SOPS Age decryption.
SopsAgeSecretName = "sops-age"
)
Variables ¶
This section is empty.
Functions ¶
func EnsureDefaultResources ¶
EnsureDefaultResources waits for the core Argo CD components to become ready.
func EnsureSopsAgeSecret ¶ added in v5.85.0
func EnsureSopsAgeSecret( ctx context.Context, kubeconfig string, clusterCfg *v1alpha1.Cluster, ) error
EnsureSopsAgeSecret creates or updates the sops-age secret in the argocd namespace if SOPS is enabled and an Age key is available.
func ShouldEnableSOPS ¶ added in v5.85.0
ShouldEnableSOPS returns true if SOPS CMP support should be enabled for ArgoCD. The decision mirrors EnsureSopsAgeSecret: explicitly disabled → false, explicitly enabled → true, auto-detect → true only if an Age key is available.
Types ¶
type Installer ¶ added in v5.30.0
type Installer struct {
// contains filtered or unexported fields
}
Installer installs or upgrades Argo CD via its Helm OCI chart.
It implements installer.Installer semantics (Install/Uninstall) so it can be orchestrated by cluster lifecycle flows.
func NewInstaller ¶ added in v5.30.0
NewInstaller creates a new Argo CD installer instance. When sopsEnabled is true the chart is deployed with a CMP sidecar that transparently decrypts SOPS-encrypted manifests using an Age key.