Skip to content

patpicos/crossplane-health-checks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Crossplane Health Checks

WARNING: The unit testing framework does not support wildcards for the resource kind and type. Therefore, all the test cases were put into argo-cd/resource_customizations/repositories.argocd.crossplane.io/Repository and the header of the file set to

apiVersion: repositories.argocd.crossplane.io/v1alpha1
kind: Repository

This was to allow the lua tests to see the resources under test instead of having multiple lua health-checks.

To run the tests for the crossplane resources:

cd util/lua
go test -v -run TestLuaHealthScript .

About

Sample repo with test cases for improved crossplane health-checks

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 1,483