Skip to content

feat: Support multiple token verifiers in kops-controller#16140

Merged
k8s-ci-robot merged 1 commit into
kubernetes:masterfrom
justinsb:multiple_verifiers
Nov 30, 2023
Merged

feat: Support multiple token verifiers in kops-controller#16140
k8s-ci-robot merged 1 commit into
kubernetes:masterfrom
justinsb:multiple_verifiers

Conversation

@justinsb
Copy link
Copy Markdown
Member

This will allow us to support nodes running in multiple clouds. If we
don't configure multiple verifiers, this should be a no-op.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/kops-controller labels Nov 30, 2023
@k8s-ci-robot k8s-ci-robot added area/nodeup area/provider/aws Issues or PRs related to aws provider area/provider/azure Issues or PRs related to azure provider size/L Denotes a PR that changes 100-499 lines, ignoring generated files. area/provider/digitalocean Issues or PRs related to digitalocean provider area/provider/gcp Issues or PRs related to gcp provider area/provider/hetzner Issues or PRs related to Hetzner provider area/provider/openstack Issues or PRs related to openstack provider area/provider/scaleway Issues or PRs related to Scaleway provider labels Nov 30, 2023
@justinsb
Copy link
Copy Markdown
Member Author

Breaking #16139 into more manageable chunks

This will allow us to support nodes running in multiple clouds.  If we
don't configure multiple verifiers, this should be a no-op.
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 30, 2023
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

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

The pull request process is described here

Details 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 Nov 30, 2023
@k8s-ci-robot k8s-ci-robot merged commit 928d7e0 into kubernetes:master Nov 30, 2023
@k8s-ci-robot k8s-ci-robot added this to the v1.29 milestone Nov 30, 2023
Comment thread pkg/bootstrap/chain.go
}
klog.Infof("failed to verify token: %v", err)
}
return nil, fmt.Errorf("unable to verify token")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this should wrap one of the non-nil errors that was received from the verifiers

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/kops-controller area/nodeup area/provider/aws Issues or PRs related to aws provider area/provider/azure Issues or PRs related to azure provider area/provider/digitalocean Issues or PRs related to digitalocean provider area/provider/gcp Issues or PRs related to gcp provider area/provider/hetzner Issues or PRs related to Hetzner provider area/provider/openstack Issues or PRs related to openstack provider area/provider/scaleway Issues or PRs related to Scaleway 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants