
In current setup, we rely on executor to perform render operation, however there are many usecases, when we want to have a simple `kustomize build` performed against document entrypoint in phase. Now this will be a default behaviour and if a user would like executor to perform rendering to actually understand what it's doing, he will be able to specify --executor boolean flag. Relates-To: #403 Change-Id: I181830f9814ff48a19ba0a1284e89900187bc7d8
24 lines
880 B
Plaintext
24 lines
880 B
Plaintext
Render phase documents from model
|
|
|
|
Usage:
|
|
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
|
|
|
|
|
|
Flags:
|
|
-a, --annotation string filter documents by Annotations
|
|
-g, --apiversion string filter documents by API version
|
|
-e, --executor if set to true rendering will be performed by executor otherwise phase entrypoint will be rendered by kustomize, if entrypoint is not specified error will be returned
|
|
-h, --help help for render
|
|
-k, --kind string filter documents by Kinds
|
|
-l, --label string filter documents by Labels
|