Skip to content

Don't use managed scripts for validating pull secret#538

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
AlexVulaj:validate-pull-secret-no-managed-script
Mar 22, 2024
Merged

Don't use managed scripts for validating pull secret#538
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
AlexVulaj:validate-pull-secret-no-managed-script

Conversation

@AlexVulaj
Copy link
Contributor

@AlexVulaj AlexVulaj commented Mar 22, 2024

Reverts changes from OSD-19605/#488.

The command currently relies on directly running terminal commands and string-parsing the output. This solution is prone to error because the output from running those commands can change without notice. For example, the "--pd" flag was recently added, so the command would potentially output a warning that the user was missing their PD Token. This output would be parsed for the email.

We also recently added an --elevate and --reason flag to reduce compliance ticket TOIL, so there is less incentive to avoid elevation.

Resolves OSD-21713.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 22, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 22, 2024

@AlexVulaj: all tests passed!

Full PR test history. Your PR dashboard.

Details

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.

@tnierman
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 22, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AlexVulaj, tnierman

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

@openshift-merge-bot openshift-merge-bot bot merged commit 981cb82 into openshift:master Mar 22, 2024
@AlexVulaj AlexVulaj deleted the validate-pull-secret-no-managed-script branch March 22, 2024 16:00
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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants