openbao-helm/test
Theron Voran b59cbf6dc6
Set kubeVersion and added chart-verifier tests (#510)
Set min kubeVersion in Chart.yaml to 1.14. Added a chart-verifier bats
test, and configured to run it in CI. Some verification tests that
haven't been addressed yet are skipped.
2021-05-10 16:56:31 -07:00
..
acceptance Update to 0.10.0 (#477) 2021-03-25 10:19:31 -04:00
chart Set kubeVersion and added chart-verifier tests (#510) 2021-05-10 16:56:31 -07:00
docker Add container based tests documentation (#492) 2021-04-14 13:05:38 -04:00
terraform updating acceptance tests to k8s 1.17 on gke (#473) 2021-03-24 09:20:06 -04:00
unit Fix injector unit test failing (#496) 2021-04-14 08:23:50 -04:00
README.md Get acceptance tests running against GKE in CI - merges to master only. (#291) 2020-05-27 17:21:16 +01:00

Running Vault Helm Acceptance tests

The Makefile at the top level of this repo contains a few target that should help with running acceptance tests in your own GKE instance.

  • Set the GOOGLE_CREDENTIALS and CLOUDSDK_CORE_PROJECT variables at the top of the file. GOOGLE_CREDENTIALS should contain the local path to your Google Cloud Platform account credentials in JSON format. CLOUDSDK_CORE_PROJECT should be set to the ID of your GCP project.
  • Run make test-image to create the docker image (with dependencies installed) that will be re-used in the below steps.
  • Run make test-provision to provision the GKE cluster using terraform.
  • Run make test-acceptance to run the acceptance tests in this already provisioned cluster.
  • You can choose to only run certain tests by setting the ACCEPTANCE_TESTS variable and re-running the above target.
  • Run make test-destroy when you have finished testing and want to tear-down and remove the cluster.