Commit 7d163c5
committed
resourcebuilder/core: Keep ciphersuites order when injecting TLS
Although Go TLS ignores ciphersuites order, and has some complicated
rules about ciphersuites content, other implementations (and perhaps
future Go implementations) have different bahaviors, so we shouldn't
optimize for the current implementation too closely.
Also, ciphersuites opinions should be have a single source of truth,
and be implemented at the APIServer level. Applying changes at the
CluserVersionOperator level makes the config flow harer to follow.
* Don't sort ciphersuites, and document the rationale
* Add testscases and remove redundant ones
* Clarify test labels and testdata name/comments
* Reorder testcases and data to be more thematic
* Simplify test helpers1 parent 2355e7e commit 7d163c5
3 files changed
Lines changed: 176 additions & 202 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
| 147 | + | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | | - | |
152 | | - | |
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
| |||
0 commit comments