Skip to content

global.hydra Reference

Complete structure of the global.hydra values block.

Top-Level Structure

global:
  hydra:
    # Dependency modeling
    refs: {}                    # Ref group definitions
    presets: {}                 # Preset overrides
    clones: {}                  # Resource cloning rules
    templatePatches: {}         # Post-render YQ mutations

    # Operational configuration
    scale: {}                   # Workload scaling metadata
    diff: {}                    # Diff ignore rules
    ready: {}                   # Readiness probes
    ownerNamespaces: []         # Owned namespace list
    kubectl: {}                 # Kubernetes context validation
    uninstall-finalizer: []     # Custom uninstall ordering

    # Metadata
    cluster: ""                 # Cluster name
    path: ""                    # Chart path
    repository: ""              # Git repository URL
    revision: ""                # Git revision/branch
    stage: ""                   # Environment stage (dev/stage/prod)
    kubernetesVersion: ""       # Target K8s version
    additionalSourceRepos: []   # Extra ArgoCD source repos

Keys by Purpose

Dependency Modeling

Key Type Purpose Detail Page
refs map[string]RefGroup Define dependency edges refs
presets map[string]PresetOverride Override builtin presets presets
clones map[string]CloneSpec Copy resources across namespaces clones
templatePatches map[string]PatchSpec Mutate rendered manifests templatePatches

Operational Configuration

Key Type Purpose Detail Page
scale map[string]ScaleSpec Workload scaling metadata scale
diff map[string]DiffSpec Ignore rules for diff diff
ready map[string]ReadySpec CEL-based readiness ready
ownerNamespaces []string Namespaces this app owns ownerNamespaces
kubectl KubectlConfig Context validation kubectl
uninstall-finalizer []string Uninstall ordering uninstall-finalizer

Metadata

Key Type Purpose
cluster string Name of the target cluster
path string Path to the chart in the repository (set at cluster values.yaml, not context values.yaml)
repository string Git repository URL
revision string Git branch or tag
stage string Environment stage identifier
kubernetesVersion string Target Kubernetes version (e.g., "1.28")
additionalSourceRepos []string Extra repos for ArgoCD AppProject

See Also