-
Notifications
You must be signed in to change notification settings - Fork 21
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
enh: add cmd to patch bastion ipblock/cidr filter #180
enh: add cmd to patch bastion ipblock/cidr filter #180
Conversation
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.
part 1
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.
part 2
8a4d9ec
to
2443ea2
Compare
2443ea2
to
8ac9726
Compare
4311ebd
to
e272423
Compare
/hold need to find a solution for the missing "tokenreviews" permission on regular gardener landscapes |
pkg/cmd/ssh/ssh_patch_options.go
Outdated
} | ||
|
||
func (o *sshPatchOptions) AddFlags(flags *pflag.FlagSet) { | ||
flags.StringArrayVar(&o.CIDRs, "cidr", o.CIDRs, "CIDRs to allow access to the bastion host; if not given, your system's public IPs (v4 and v6) are auto-detected.") |
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.
also re-use the cidr completion
e88e55d
to
75a171d
Compare
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.
/lgtm
75a171d
to
faa9990
Compare
I have create a PR gardener/gardener#7201 that give this authorization to all authenticated users. |
update to retrigger hooks
1e811d8
to
21a2f6a
Compare
/unhold gardener/gardener#7201 was merged and released |
|
What this PR does / why we need it:
Introduce a new command that allows the update, currently only the CIDR/IPBlock, of an existing bastion host previously created through the
ssh
command.Which issue(s) this PR fixes:
Fixes #123
Special notes for your reviewer:
Release note: