-
Notifications
You must be signed in to change notification settings - Fork 4
feat(velero): add support for mitm proxy #2170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat(velero): add support for mitm proxy #2170
Conversation
This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID. Online Installer:
Airgap Installer (may take a few minutes before the airgap bundle is built):
Happy debugging! |
2f650eb
to
c514a36
Compare
110a865
to
0bb2644
Compare
"k8s.io/utils/ptr" | ||
) | ||
|
||
// TODO: this should test creating a backup storage location and possibly a backup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this test adds much more value than the test here
pkg/addons/velero/integration/hostcabundle_test.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. To me it looks like they are testing the same things.
pkg/addons/openebs/upgrade.go
Outdated
@@ -27,13 +27,13 @@ func (o *OpenEBS) Upgrade(ctx context.Context, kcli client.Client, hcli helm.Cli | |||
return errors.Wrap(err, "generate helm values") | |||
} | |||
|
|||
_, err = hcli.Upgrade(ctx, helm.UpgradeOptions{ | |||
_, err = hcli.Upgrade(ctx, helm.InstallOptions{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
) | ||
|
||
t.Logf("%s: waiting for nodes to reboot", time.Now().Format(time.RFC3339)) | ||
time.Sleep(30 * time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way that we can make this more robust by looping and test connecting to the node/checking the node status (and eventually timing out after a while)?
What this PR does / why we need it:
Adds a backup and restore test to proxy and mitm proxy e2e tests.
Before this change MITM proxy fails backup
https://github.com/replicatedhq/embedded-cluster/actions/runs/15061277910/job/42337183201?pr=2170
Which issue(s) this PR fixes:
Does this PR require a test?
Does this PR require a release note?
Does this PR require documentation?