f2dc2ca3f6
Relates-to: #453 Change-Id: I150a48cbec5c87943ed6c07a8ef8d562437fda46
1.7 KiB
1.7 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 phase documents containing labels "app=helm" and "service=tiller"
# and kind 'Deployment'
airshipctl phase render initinfra -l app=helm,service=tiller -k Deployment
# Get all documents from config bundle
airshipctl phase render --source config
# Get all documents executor rendered documents for a phase
airshipctl phase render initinfra --source executor
Options
-a, --annotation string filter documents by Annotations
-g, --apiversion string filter documents by API version
-d, --decrypt ensure that decryption of encrypted documents has finished successfully
-h, --help help for render
-k, --kind string filter documents by Kinds
-l, --label string filter documents by Labels
-s, --source string phase: phase entrypoint will be rendered by kustomize, if entrypoint is not specified error will be returned
executor: rendering will be performed by executor if the phase
config: this will render bundle containing phase and executor documents (default "phase")
Options inherited from parent commands
--airshipconf string Path to file for airshipctl configuration. (default "$HOME/.airship/config")
--debug enable verbose output
SEE ALSO
- airshipctl phase - Manage phases