jacobsvante/Kustomize Deploy
Deploy to Kubernetes cluster using a Kustomize config
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| kubeconfig | Contents of the cluster's kubeconfig | yes | — |
| kustomization-dir | Path to the kustomize directory to apply / deploy (e.g. `kustomize/overlays/production`) | yes | — |
| docker-repo | Docker repository/image to deploy, if any (e.g. `my-org/my-app`) | no | — |
| docker-tag | Docker image tag to deploy, if any (e.g. `0.9.14`) | no | — |
| docker-server | Docker server, if any (e.g. `docker.io`) | no | — |
| docker-username | Docker user, if any (e.g. `my-username`) | no | — |
| docker-password | Docker password, if any (e.g. `abc123`) | no | — |
| pre-deploy-delete-job-selector | Delete jobs with `status.successful=1` and the given label (e.g. `autodelete-successful-on-deploy=yes`), before doing the deploy. Useful for cleaning up completed db migration jobs and similar. | no | "" |
| kustomization-base-dir | Path to base kustomize directory | yes | kustomize/base |
| age-secret-key | Secret key to decrypt deploy secrets with (e.g. `AGE-SECRET-KEY-123456`) | no | "" |
| encrypted-filename | Filename/subpath inside `kustomization-dir` to a file with age encrypted secrets to decrypt | yes | secrets.env |
| decrypted-filename | Filename/subpath inside `kustomization-dir` to which the age encrypted secrets will be decrypted to | yes | secrets.env.dec |
| create-k8s-namespace | Create Kubernetes namespace if it does not exist | yes | true |
| create-image-pull-secret | Create an image pull secret named "rg.`$region`.scw.cloud", to be referenced in `imagePullSecrets` in a k8s deployment/job | yes | true |
| kubectl | Version of kubectl | yes | latest |
| kubectl-dry-run | Used to set `kubectl` option `--dry-run` Valid values are `none` (default), `client` and `server`. | yes | none |
Outputs
no outputs