-
Notifications
You must be signed in to change notification settings - Fork 83
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
Add support for deployments in existing subnet #780
base: master
Are you sure you want to change the base?
Conversation
@kon-angelo Command "/InviteCommand" failed with "Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the gardener/gardener-extension-provider-openstack repository.". Additional Information
|
4a5de3f
to
79d4de6
Compare
79d4de6
to
a111f7b
Compare
@kon-angelo You need rebase this pull request with latest master branch. Please check. |
a111f7b
to
e2ece8a
Compare
/test |
Testrun: e2e-s8djr +---------------------+-----------------------------+-----------+----------+ | NAME | STEP | PHASE | DURATION | +---------------------+-----------------------------+-----------+----------+ | bastion-test | bastion-test | Succeeded | 5m2s | | infrastructure-test | infrastructure-test-flow | Succeeded | 7m46s | | infrastructure-test | infrastructure-test-migrate | Succeeded | 8m1s | | infrastructure-test | infrastructure-test-recover | Failed | 9m38s | | infrastructure-test | infrastructure-test | Omitted | 0s | +---------------------+-----------------------------+-----------+----------+ |
2964cff
to
ac352e5
Compare
Co-authored-by: Kai Kummerer <[email protected]>
81d75bb
to
ab61029
Compare
/test |
Testrun: e2e-ldvdn +---------------------+-----------------------------+-----------+----------+ | NAME | STEP | PHASE | DURATION | +---------------------+-----------------------------+-----------+----------+ | infrastructure-test | infrastructure-test-flow | Succeeded | 8m3s | | infrastructure-test | infrastructure-test-migrate | Succeeded | 7m36s | | infrastructure-test | infrastructure-test-recover | Succeeded | 8m0s | | bastion-test | bastion-test | Succeeded | 5m9s | | infrastructure-test | infrastructure-test | Succeeded | 7m37s | +---------------------+-----------------------------+-----------+----------+ |
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.
We should probably add documentation for bringing your own subnetID.
return fctx.ensureNewSubnet(ctx) | ||
} | ||
|
||
func (fctx *FlowContext) ensureConfiguredSubnet(_ context.Context) error { |
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'd remove the context param if we don't use it.
Actually, I'd pass the subnetID as string param instead of the context.
This would make it easier to spot that it's checked for nil.
@@ -995,7 +990,6 @@ func (vp *valuesProvider) addCSIManilaValues( | |||
values["openstack"] = map[string]interface{}{ | |||
"availabilityZones": vp.getAllWorkerPoolsZones(cluster), | |||
"shareNetworkID": shareNetworkID, | |||
"shareClient": infrastructure.WorkersCIDR(infraConfig), |
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.
How can the "shareClient" be set if we remove it from here?
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.
We don't set it basically. The shareClient constricts who can access the share, for which at the moment we have no strict need to do, it even restrict customer use cases. The template doesn't necessarily need to change, we just choose not to configure this.
How to categorize this PR?
/area control-plane
/kind enhancement
/platform openstack
What this PR does / why we need it:
/invite @Kumm-Kai
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: