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

AGENT-864: Add option to monitor-add-nodes to auto approve CSRs #8293

Closed
wants to merge 8 commits into from

Conversation

rwsu
Copy link
Contributor

@rwsu rwsu commented Apr 20, 2024

Add --auto-approve-csrs option to approve CSRs found by the monitor-add-nodes command.

The function now requires kubeconfig file path, rendezvousIP, and
sshKey as parameters. Previously it had a single parameter, assetStore,
and it searched the asset store to determine the three parameters
above.
Adds the ability to monitor a node being added during day2.

The command is:

node-joiner monitor-add-nodes --kubeconfig <kubeconfig-file-path>
<IP-address-of-node-to-monitor>

Both the kubeconfig file and IP address are required.

Multi node monitoring will be added in a future PR.
NewCluster needs both assetDir for install workflow and
kubeconfigPath for addnodes workflow.

Cluster.assetDir should only be initialized for the install
workflow.
Add --auto-approve-csrs option to approve CSRs found by the
monitor-add-nodes command.
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 20, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Apr 20, 2024

@rwsu: This pull request references AGENT-864 which is a valid jira issue.

In response to this:

Add --auto-approve-csrs option to approve CSRs found by the monitor-add-nodes command.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Copy link
Contributor

openshift-ci bot commented Apr 20, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from rwsu. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

Copy link
Contributor

openshift-ci bot commented Apr 20, 2024

@rwsu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-e2e-agent-compact-ipv4 ce507a4 link false /test okd-e2e-agent-compact-ipv4
ci/prow/e2e-agent-compact-ipv4 ce507a4 link true /test e2e-agent-compact-ipv4
ci/prow/e2e-agent-compact-ipv4-appliance ce507a4 link false /test e2e-agent-compact-ipv4-appliance
ci/prow/e2e-agent-ha-dualstack ce507a4 link false /test e2e-agent-ha-dualstack
ci/prow/e2e-agent-compact-ipv4-appliance-diskimage ce507a4 link false /test e2e-agent-compact-ipv4-appliance-diskimage
ci/prow/okd-e2e-aws-ovn-upgrade ce507a4 link false /test okd-e2e-aws-ovn-upgrade

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rwsu rwsu closed this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants