Open MarcelMue opened 6 years ago
It would involve these:
e2e
directory like this one https://github.com/giantswarm/aws-operator/tree/master/e2e (once this lands https://github.com/giantswarm/e2e-harness/pull/7 it should be done with the e2e-harness
cli tool). You should modify project.yaml
https://github.com/giantswarm/aws-operator/blob/master/e2e/project.yaml, especially the installation of tthe endpoint-operator chart, looks like in values you should only need DockerConfigJSON
https://github.com/giantswarm/aws-operator/blob/master/e2e/project.yaml#L29project.yaml
file, like in https://github.com/giantswarm/e2e-harness/blob/master/e2e/project.yaml#L8, the setup
and outOfCluster
steps are the same) or in cluster (go tests like https://github.com/giantswarm/aws-operator/blob/master/e2e/tests/awstpr.go#L31).I can propose a PR with a basic skeleton so that you can begin writing tests, let me know if I can help with that.
I will hopefully get to this next week, I'll try to set up as you described above then. I'd suggest you don't invest time on this right now as it's not urgent yet.
This is mainly for cases where unit tests with a fake k8s client don't work properly. Description by @fgimenez :