$ roxctl deployment [command] [flags]
Commands related to deployments.
$ roxctl deployment [command] [flags]
Command | Description |
---|---|
|
Check the deployments for violations of the deployment time policy. |
Option | Description |
---|---|
|
Set the timeout for API requests. This option represents the maximum duration of a request. The default value is |
The roxctl deployment
command supports the following options inherited from the parent roxctl
command:
Option | Description |
---|---|
|
Specify a custom CA certificate file path for secure connections. Alternatively, you can specify the file path by using the |
|
Set |
|
Set the endpoint for the service to contact. Alternatively, you can set the endpoint by using the |
|
Force the use of HTTP/1 for all connections. Alternatively, by setting the |
|
Enable insecure connection options. Alternatively, by setting the |
|
Skip the TLS certificate validation. Alternatively, by setting the |
|
Disable the color output. Alternatively, by setting the |
|
Specify the password for basic authentication. Alternatively, you can set the password by using the |
|
Use an unencrypted connection. Alternatively, by setting the |
|
Set the TLS server name to use for SNI. Alternatively, you can set the server name by using the |
|
Use the API token provided in the specified file for authentication. Alternatively, you can set the token by using the |
These options are applicable to all the sub-commands of the |
Check deployments for violations of the deployment time policy.
$ roxctl deployment check [flags]
Option | Description |
---|---|
|
Define the policy categories that you want to execute. By default, all policy categories are executed. |
|
Set the cluster name or ID that you want to use as the context for the evaluation to enable extended deployments with cluster-specific information. |
|
Print the JSON output in compact form. The default value is |
|
Specify the YAML files to send to Central for policy evaluation. |
|
Bypass the Central cache for images and force a new pull from Scanner. The default value is |
|
Define headers that you want to print in the tabular output. The default values include |
|
Print headers as comments in the CSV tabular output. The default value is |
|
Set the name of the JUnit test suite. The default value is |
|
Merge duplicate cells in the tabular output. The default value is |
|
Specify a namespace to enhance deployments with context information such as network policies, RBACs and services for deployments that do not have a namespace in their specification. The namespace defined in the specification is not changed. The default value is |
|
Do not print headers for a tabular output. The default value is |
|
Choose the output format. Output formats include |
|
Set the number of retries before exiting as an error. The default value is |
|
Set the time to wait between retries in seconds. The default value is |
|
Define the JSON path expressions to create a row from the JSON object. For more details, run the |