https://github.com/jacobsvante/kustomize-deploy-action
Github Action to deploy to a Kubernetes cluster using your Kustomize configuration.
https://github.com/jacobsvante/kustomize-deploy-action
Last synced: 11 months ago
JSON representation
Github Action to deploy to a Kubernetes cluster using your Kustomize configuration.
- Host: GitHub
- URL: https://github.com/jacobsvante/kustomize-deploy-action
- Owner: jacobsvante
- License: mit
- Created: 2022-08-29T13:52:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T09:02:11.000Z (about 2 years ago)
- Last Synced: 2025-07-06T03:43:40.319Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Description
Deploy to Kubernetes cluster using a Kustomize config
## Inputs
| parameter | description | required | default |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------------- |
| kubeconfig | Contents of the cluster's kubeconfig | `true` | |
| kustomization-dir | Path to the kustomize directory to apply / deploy (e.g. `kustomize/overlays/production`) | `true` | |
| docker-repo | Docker repository/image to deploy, if any (e.g. `my-org/my-app`) | `false` | |
| docker-tag | Docker image tag to deploy, if any (e.g. `0.9.14`) | `false` | |
| docker-server | Docker server, if any (e.g. `docker.io`) | `false` | |
| docker-username | Docker user, if any (e.g. `my-username`) | `false` | |
| docker-password | Docker password, if any (e.g. `abc123`) | `false` | |
| 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. | `false` | |
| kustomization-base-dir | Path to base kustomize directory | `true` | kustomize/base |
| age-secret-key | Secret key to decrypt deploy secrets with (e.g. `AGE-SECRET-KEY-123456`) | `false` | |
| encrypted-filename | Filename/subpath inside `kustomization-dir` to a file with age encrypted secrets to decrypt | `true` | secrets.env |
| decrypted-filename | Filename/subpath inside `kustomization-dir` to which the age encrypted secrets will be decrypted to | `true` | secrets.env.dec |
| create-k8s-namespace | Create Kubernetes namespace if it does not exist | `true` | 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 | `true` | true |
| kubectl | Version of kubectl | `true` | latest |
| kubectl-dry-run | Used to set `kubectl` option `--dry-run` Valid values are `none` (default), `client` and `server`. | `true` | none |
## Runs
This action is a `composite` action.