Commit 8dd8db4
authored
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 <[email protected]>
* Working getting ingressTLS config from helm yaml into a `[]networkingv1.IngressTLS`
Signed-off-by: Thomas Newton <[email protected]>
* Vaguely correct adding TLS options to UI ingress
Signed-off-by: Thomas Newton <[email protected]>
* First test passing
Signed-off-by: Thomas Newton <[email protected]>
* Pass through argument where I had forgotten
Signed-off-by: Thomas Newton <[email protected]>
* Implement IngressAnnotations
Signed-off-by: Thomas Newton <[email protected]>
* Add "default" to some variable names
Signed-off-by: Thomas Newton <[email protected]>
* Update helm and CLI parsing, including adding annotations
Signed-off-by: Thomas Newton <[email protected]>
* Sufficient unit tests
Signed-off-by: Thomas Newton <[email protected]>
* Tests and documentation for helm
Signed-off-by: Thomas Newton <[email protected]>
* Minor adjustments to test strings
Signed-off-by: Thomas Newton <[email protected]>
* PR comments
Signed-off-by: Thomas Newton <[email protected]>
* Fix rebase
Signed-off-by: Thomas Newton <[email protected]>
* Avoid manually constructing the expected ingress name in tests
Signed-off-by: Thomas Newton <[email protected]>
* Quote and rename on the helm side
Signed-off-by: Thomas Newton <[email protected]>
* Avoid using pointers
Signed-off-by: Thomas Newton <[email protected]>
* More renaming to remove "default"
Signed-off-by: Thomas Newton <[email protected]>
* Revert helm quote on json strings
Signed-off-by: Thomas Newton <[email protected]>
* Tidy imports
Signed-off-by: Thomas Newton <[email protected]>
* Fix tests after #2554 moved the ingress creation to be on submitted spark applications
Signed-off-by: Thomas Newton <[email protected]>
* Re-generate helm docs
Signed-off-by: Thomas Newton <[email protected]>
---------
Signed-off-by: Thomas Newton <[email protected]>1 parent 718e3a0 commit 8dd8db4
File tree
9 files changed
+294
-19
lines changed- charts/spark-operator-chart
- templates/controller
- tests/controller
- cmd/operator/controller
- internal/controller/sparkapplication
9 files changed
+294
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
| |||
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
187 | 218 | | |
188 | 219 | | |
189 | 220 | | |
| |||
246 | 277 | | |
247 | 278 | | |
248 | 279 | | |
249 | | - | |
| 280 | + | |
250 | 281 | | |
251 | 282 | | |
252 | 283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
77 | 86 | | |
78 | 87 | | |
79 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
90 | | - | |
91 | | - | |
92 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
93 | 98 | | |
94 | 99 | | |
95 | 100 | | |
| |||
126 | 131 | | |
127 | 132 | | |
128 | 133 | | |
| 134 | + | |
| 135 | + | |
129 | 136 | | |
130 | 137 | | |
131 | 138 | | |
132 | | - | |
| 139 | + | |
133 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
134 | 153 | | |
135 | 154 | | |
136 | 155 | | |
| |||
154 | 173 | | |
155 | 174 | | |
156 | 175 | | |
| 176 | + | |
| 177 | + | |
157 | 178 | | |
158 | 179 | | |
159 | 180 | | |
| |||
403 | 424 | | |
404 | 425 | | |
405 | 426 | | |
| 427 | + | |
| 428 | + | |
406 | 429 | | |
407 | 430 | | |
408 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
323 | 325 | | |
324 | 326 | | |
325 | 327 | | |
326 | | - | |
| 328 | + | |
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
| |||
0 commit comments