-
Notifications
You must be signed in to change notification settings - Fork 22
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
KEB Parameter to Enforce One Region for a Shoot and a Seed #781
KEB Parameter to Enforce One Region for a Shoot and a Seed #781
Conversation
Add one of following labels |
|
||
// then | ||
require.NoError(t, err) | ||
assert.NotNil(t, input.ClusterConfig.GardenerConfig.ShootAndSeedSameRegion) |
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.
You verify only if parameter is not nil, not if it is true.
@@ -288,6 +288,11 @@ func (c *FakeClient) IsShootUpgraded(runtimeID string) bool { | |||
return found | |||
} | |||
|
|||
func (c *FakeClient) IsSeedAndRegionValidationEnabled() bool { |
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.
Checking if ptr is not nil only.
What if pointer points to false?
Split into two separate PRs: |
Description
Changes proposed in this pull request:
shootAndSeedSameRegion
sent to provisioner,shootAndSeedSameRegion
received from KEB input,Related issue(s)
kyma-project/kyma#18182