Install MWC and VWC During Installation#2806
Conversation
f7711eb to
8d97f52
Compare
|
Integration test results for 8d97f52: success 🎉 |
| } | ||
|
|
||
| profileValidatorValues struct { | ||
| *tlsValues |
There was a problem hiding this comment.
curious: why the extra level of indirection? ProxyInjector and ProfileValidator are already distinguished as separate members of installValues.
There was a problem hiding this comment.
I decided to declare the tlsValues struct so that it can be used as the return type of the generateWebhookTLS() function, instead of returning two strings. Yeah, I thought of omitting the nested type here, but then decided w/e it's easy enough to change, if it doesn't work out.
alpeb
left a comment
There was a problem hiding this comment.
This looked great to me!
Upgrade and HA tested fine 👍
Only thing I think is missing is the removal of the old template files for for the mutating and validating webhooks.
Signed-off-by: Ivan Sim <[email protected]>
Signed-off-by: Ivan Sim <[email protected]>
Signed-off-by: Ivan Sim <[email protected]>
Signed-off-by: Ivan Sim <[email protected]>
Signed-off-by: Ivan Sim <[email protected]>
The renaming change breaks upgrade, where the new webhook configs conflict with the existing ones. The older resources aren't deleted during upgrade because they are dynamically created. Signed-off-by: Ivan Sim <[email protected]>
Signed-off-by: Ivan Sim <[email protected]>
Signed-off-by: Ivan Sim <[email protected]>
Signed-off-by: Ivan Sim <[email protected]>
8d97f52 to
49da3c8
Compare
Signed-off-by: Ivan Sim <[email protected]>
|
Integration test results for 49da3c8: fail 😕 |
Signed-off-by: Ivan Sim <[email protected]>
|
Integration test results for 4f963de: fail 😕 |
|
The integration test passed on my machine:tm: twice, so I'm gonna go ahead and merge this PR :crossed_fingers:. |
This PR supersedes #2796. Per #2796 (comment), this PR changes the way how the MWC and VWC are managed.
When installing the control plane,
Secretresources, which are shared by the webhook replicas via read-only volume.configstagelinkerd upgradecommand.Fixes #2176