| method | Acceptable values: kubeconfig or service-account | yes | kubeconfig |
| kubeconfig | Contents of kubeconfig file | no | "" |
| context | If your kubeconfig has multiple contexts, use this field to use a specific context, otherwise the default one would be chosen | no | "" |
| k8s-url | Cluster Url | no | "" |
| k8s-secret | Service account secret. Run kubectl get serviceaccounts <service-account-name> -o yaml and copy the service-account-secret-name. Copy the ouptut of kubectl get secret <service-account-secret-name> -o yaml | no | "" |
| container-registry-url | Container registry url | no | — |
| container-registry-username | Container registry username | no | — |
| container-registry-password | Container registry password | no | — |
| container-registry-email | Container registry email | no | — |
| secret-type | Type of Kubernetes secret. For example, docker-registry or generic | yes | docker-registry |
| secret-name | Name of the secret. You can use this secret name in the Kubernetes YAML configuration file. | yes | — |
| arguments | Specify keys and literal values to insert in generic type secret. For example, --from-literal=key1=value1 --from-literal=key2="top secret". | no | — |
| manifests | Path to the manifest files which will be used for deployment. | yes | "" |
| images | Fully qualified resource URL of the image(s) to be used for substitutions on the manifest files Example: contosodemo.azurecr.io/helloworld:test | no | — |
| imagepullsecrets | Name of a docker-registry secret that has already been set up within the cluster. Each of these secret names are added under imagePullSecrets field for the workloads found in the input manifest files | no | — |
| kubectl-version | Version of kubectl. Installs a specific version of kubectl binary | no | — |
| strategy | Deployment strategy to be used. Allowed values are none, canary | no | none |
| traffic-split-method | Traffic split method to be used. Allowed values are pod, smi | no | pod |
| baseline-and-canary-replicas | Baseline and canary replicas count; valid value i.e between 0 to 100. | no | 0 |
| percentage | Percentage of traffic redirect to canary deployment | no | 0 |
| args | Arguments | no | — |
| action | deploy/promote/reject | yes | deploy |
| namespace | Choose the target Kubernetes namespace. If the namespace is not provided, the commands will run in the default namespace. | no | — |