Skip to content
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

gce: Add support for bastions #15602

Merged
merged 2 commits into from
Jul 8, 2023
Merged

Conversation

hakman
Copy link
Member

@hakman hakman commented Jul 7, 2023

Closes #15590
More fixes coming as part of #15332

/cc @justinsb
/assign @justinsb

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/provider/gcp Issues or PRs related to gcp provider size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 7, 2023
@hakman hakman force-pushed the gce_fix_bastions branch 2 times, most recently from 81f327f to a624119 Compare July 7, 2023 13:56
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 7, 2023
@hakman
Copy link
Member Author

hakman commented Jul 7, 2023

/retest

// We specify explicitly so the rule is in IPv6 mode
ipv6.Disabled = true
ipv6.SourceRanges = []string{"::/0"}
if len(ipv4.SourceTags) == 0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if len(ipv4.SourceTags) == 0 {
if len(ipv6.SourceTags) == 0 {

@justinsb
Copy link
Member

justinsb commented Jul 8, 2023

One nit with ipv6, but lgtm otherwise

/approve
/lgtm
/hold for nit

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Jul 8, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justinsb

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 8, 2023
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 8, 2023
@hakman
Copy link
Member Author

hakman commented Jul 8, 2023

Thanks @justinsb. Nit fixed.

@hakman
Copy link
Member Author

hakman commented Jul 8, 2023

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 8, 2023
@hakman hakman requested a review from justinsb July 8, 2023 15:20
@johngmyers
Copy link
Member

/lgtm

k8s-ci-robot added a commit that referenced this pull request Jul 15, 2023
…15332-#15611-#15614-#15607-upstream-release-1.27

Automated cherry pick of #15602: gce: Add support for bastions#15332: gce: Update logic for internal LB#15611: gce: Set firewall rules for Internal LBs also#15614: gce: Rename firewall SSH rules for bastion#15607: gce: Use `user-data` instead of `startup-script` metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/provider/gcp Issues or PRs related to gcp provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GCE private topology with bastion fails
4 participants