GitHub Action
Kustomize nu validation
Kustomize manifests validations using Kubeconform with beautiful nushell outputs.
To utilize this action, add the following configuration to your GitHub Actions workflow file (e.g., .github/workflows/validate-kustomize.yml
):
name: Kustomize Nu Validation
on: [push, pull_request]
jobs:
validate-kustomize:
runs-on: ubuntu-latest
steps:
- uses: omarluq/kustomize-nu-validation@alpha
Name | Description | Default |
---|---|---|
entry |
Kustomize projects entry point | ./kustomize |
kubectl_version |
Version of kubectl to use. |
1.30.0 |
kubeconform_version |
Version of kubeconform to use. |
0.6.6 |
kustomize_version |
Version of kustomize to use. |
5.4.1 |
nushell_version |
Version of Nushell to use. |
0.93.0 |
python_version |
Version of Python to use. |
3.12 |
Nushell is used in this action because of its ability to provide gorgeous, highly readable output. Its structured data model allows for elegant manipulation and presentation of Kubeconform's JSON results, making it much easier to interpret validation outcomes. This ensures that developers can quickly identify issues in their Kustomize projects and take necessary corrective actions.
- Kubeconform: For providing robust validation against Kubernetes schemas.
- yokawasa/action-setup-kube-tools: For simplifying the setup of Kubernetes tools like
kubectl
,kubeconform
, andkustomize
. - Datree: For their CRD Extractor tool and CRD schemas catalog.
- Nushell: For providing a versatile shell that makes working with structured data seamless and intuitive.
- hustcer/setup-nu: For the GitHub Action that made setting up Nushell simple.
A huge thank you to these tools and their maintainers for helping make this validation action possible!
This project is licensed under the MIT License.