Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.66 KB

File metadata and controls

29 lines (21 loc) · 1.66 KB

deployah validate

Validate a Deployah spec

Synopsis

Validate a Deployah spec against the JSON schema. Without an environment, validates the manifest (offline, fast) and, when a platform file exists, cross-checks expose.domain keys and environment names against it. With an environment, also runs resolution for that environment, including runtime env files. A platform file is required only when the spec uses platform-owned features such as profiles or expose.

deployah validate [environment] [flags]

Options inherited from parent commands

      --context string         Kubernetes context to use (overrides the current context and any environment 'context' field)
  -C, --cwd string             Run as if deployah was started in this directory instead of the current working directory
  -d, --debug                  Enable debug mode (verbose logging and keep temporary files)
  -h, --help                   show help for this command
  -k, --kubeconfig string      Path to the kubeconfig file to use (defaults to standard kubeconfig resolution)
  -n, --namespace string       Kubernetes namespace to use for Deployah operations (defaults to current context namespace)
      --platform-file string   Path to the platform config file (overrides DEPLOYAH_PLATFORM_FILE and the default same-directory lookup)
  -s, --spec string            Path to the Deployah spec file (YAML or JSON) (default "deployah.yaml")
  -t, --timeout duration       Timeout for Deployah operations (install/upgrade, list, status, logs, delete, run) (default 10m0s)

SEE ALSO

  • deployah - Deployah turns a spec into a running release on Kubernetes (Spec-to-Release)