* Retry after driver pod now found if recent submission
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Add a test
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Make grace period configurable
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Update test
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Add an extra test with the driver pod
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Separate context to create and delete the driver pod
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Tidy
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Autoformat
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Update error message
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Add helm paramater
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Update internal/controller/sparkapplication/controller.go
Co-authored-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Newlines between helm tests
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
---------
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
Co-authored-by: Yi Chen <github@chenyicn.net>
* Still working on tests
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Maybe progress
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* First working validation
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Lots of cleanup needed but it actually reproduced
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Working but ugly get schema from CRD
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Satisfactory test
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Add missing omitempty for optional values
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Remove omitempty on required fields
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Run update-crd
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Remove temp schema config
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Tidy
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* go import
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Cover more test cases
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Add tests that spec and metadata are required
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Add tests against error content
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* `go mod tidy`
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Fix lint
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Remove test - hopefully we can add a better test as a follow up
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Make `mainApplicationFile` required
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Regenerated api-docs
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Add `MainApplicationFile` in tests
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
---------
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
* Upgrade to Spark 3.5.3
Signed-off-by: Jacob Salway <jacob.salway@gmail.com>
* Check result of err
Signed-off-by: Jacob Salway <jacob.salway@gmail.com>
---------
Signed-off-by: Jacob Salway <jacob.salway@gmail.com>
* implement an upper bound limit to the number of tracked executor
Signed-off-by: ImpSy <3097030+ImpSy@users.noreply.github.com>
* add upper bound limit to the number of tracked executor to helm chart
Signed-off-by: ImpSy <3097030+ImpSy@users.noreply.github.com>
---------
Signed-off-by: ImpSy <3097030+ImpSy@users.noreply.github.com>