Skip to main content
Version: v1.11-alpha

vela policy view

View applied Application-scoped policies and their effects.

Synopsis

View which Application-scoped policies were applied to an Application and what changes they made.

vela policy view <app-name> [flags]

Examples

  # View policies applied to an Application
vela policy view my-app

# Wide output (includes labels/annotations/context columns)
vela policy view my-app --wide

# Include per-policy details (context, labels, annotations, spec diff)
vela policy view my-app --details

# Include outcome (final spec/labels/annotations/context)
vela policy view my-app --outcome

# Filter to a specific policy
vela policy view my-app -p governance

# Include outcome in JSON output
vela policy view my-app --output json --outcome

Options

      --details            Include per-policy output details (context, labels, annotations, spec transforms)
-e, --env string specify environment name for application
-h, --help help for view
-n, --namespace string specify the Kubernetes namespace to use
--outcome Include final spec, labels, annotations and context in output
-o, --output string Output format: table, json, yaml (default "table")
-p, --policy string Filter output to policies matching a name or glob pattern (e.g. "add-env-*")
--wide Show additional columns (labels, annotations, context)

Options inherited from parent commands

  -V, --verbosity Level   number for the log level verbosity
-y, --yes Assume yes for all user prompts

SEE ALSO

  • vela policy - Manage and debug Application-scoped policies.

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.