smartlyio/krane-deploy-action
A github action to deploy services to kubernetes with https://github.com/Shopify/krane. this requires smartlyio/kubernetes-auth-action to be run first to configure acess to the cluster in use.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| currentSha | Current source revision | yes | — |
| dockerRegistry | Docker registry URI | yes | — |
| kubernetesContext | Kubernetes context name. Usually the name of the cluster, but can be random | yes | — |
| kubernetesClusterDomain | Fully qualified domain name of the cluster. | yes | — |
| kubernetesNamespace | Kubernetes namespace name. Should be similar to service name | yes | — |
| kubernetesTemplateDir | Directory with production manifests | no | ./kubernetes/production |
| kraneSelector | Label selector for krane-managed kubernetes assets | no | smartly.io/managed-by=krane |
| kranePath | Alternative path to krane binary (default krane on PATH) | no | krane |
| extraBindings | Additional template variable bindings to use in the krane render step; formatted as a JSON object mapping binding name to value. | no | {} |
| renderOnly | Only render templates, do not deploy. Default false (i.e. render and deploy) [true/false]. | no | false |
| deployTimeout | Global timeout for krane deploy. Override this if a deployment is expected to take more than 10 minutes. | no | 600s |
Outputs
no outputs