spark-operator/cmd/operator
Thomas Newton 8dd8db45a3
Make default ingress tls and annotations congurable in the helm config (#2513)
* Initial attempt at passing the info through the CLI

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Working getting ingressTLS config from helm yaml into a `[]networkingv1.IngressTLS`

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Vaguely correct adding TLS options to UI ingress

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* First test passing

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Pass through argument where I had forgotten

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Implement IngressAnnotations

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Add "default" to some variable names

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Update helm and CLI parsing, including adding annotations

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Sufficient unit tests

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Tests and documentation for helm

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Minor adjustments to test strings

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* PR comments

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Fix rebase

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Avoid manually constructing the expected ingress name in tests

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Quote and rename on the helm side

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Avoid using pointers

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* More renaming to remove "default"

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Revert helm quote on json strings

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Tidy imports

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Fix tests after #2554 moved the ingress creation to be on submitted spark applications

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Re-generate helm docs

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

---------

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
2025-06-10 16:02:49 +00:00
..
controller Make default ingress tls and annotations congurable in the helm config (#2513) 2025-06-10 16:02:49 +00:00
version Add v2 to module path (#2515) 2025-05-28 15:46:18 +00:00
webhook Add v2 to module path (#2515) 2025-05-28 15:46:18 +00:00
main.go Add v2 to module path (#2515) 2025-05-28 15:46:18 +00:00