actions-marketplace-validations/Deploy to Kubernetes
Deploy to Kubernetes and track the deployment in Github.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| namespace | The Kubernetes Namespace that the Deployment is in. If omitted, the `--namespace` flag is not used and the default Kubernetes behavior will apply. | no | default |
| deployment | The Deployment to update. | yes | — |
| container | The name of the Container in the Deployment that will have its image updated. | yes | — |
| image | The image to deploy. | yes | — |
| token | The token to use for the Github API. Normally you will use `secrets.GITHUB_TOKEN`. | yes | — |
| ref | The `ref` to attach to the Github deployment. Defaults to the commit hash of the commit triggering the workflow. | no | — |
| environment | Github Deployments environment name. | yes | — |
| production | Sets the `production_environment` flag on the deployment. When true, it indicates the environment is used by end-users. See https://docs.github.com/en/rest/reference/repos#create-a-deployment for details and defaults. | no | — |
| transient | Sets the `transient_environment` flag on the deployment. When true, it indicates the environment will no longer exist at some point in the future. See https://docs.github.com/en/rest/reference/repos#create-a-deployment for details and defaults. | no | — |
| url | URL of the environment. | no | — |
| wait | Wait for rollout to complete before finishing. When true, this increases the accuracy of the Deployment statuses displayed on Github, but will result in a longer billable duration (this is basically `kubectl rollout status`). When false, the deployment status will be updated when the _command_ finishes. Defaults to `true`. | no | true |
| wait-timeout | Maximum time to wait for a rollout to finish before timing out. A timeout will be set to "error". Accepts any format usable by `kubectl rollout status`, e.g. `1s`, `3m`, `2h`. | no | 5m |
Outputs
no outputs