airshipctl/docs/source/cli/airshipctl_phase_render.md
Dmitry Ukov 6d05ae69ee Implement document rendering sub-command
Kustomize filtering and rendering mechanisms are used.

Related: #14
Related: #15
Related: #16
Relates-To: #247
Closes: #247
Co-authored-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: Ied06b95577772cc51f51f3ebb3acd441388d5cda
2020-05-22 12:05:44 +04:00

1.2 KiB

airshipctl phase render

Render phase documents from model

Synopsis

Render phase documents from model

airshipctl phase render PHASE_NAME [flags]

Examples


#Get all 'initinfra' phase documents containing labels "app=helm" and
#"service=tiller"
airshipctl phase render initinfra -l app=helm,service=tiller

#Get all documents containing labels "app=helm" and "service=tiller"
#and kind 'Deployment'
airshipctl phase render initinfra -l app=helm,service=tiller -k Deployment

Options

  -a, --annotation string   filter documents by Annotations
  -g, --apiversion string   filter documents by API version
  -h, --help                help for render
  -k, --kind string         filter documents by Kinds
  -l, --label string        filter documents by Labels

Options inherited from parent commands

      --airshipconf string   Path to file for airshipctl configuration. (default "$HOME/.airship/config")
      --debug                enable verbose output
      --kubeconfig string    Path to kubeconfig associated with airshipctl configuration. (default "$HOME/.airship/kubeconfig")

SEE ALSO