Skip to content

Added support for GitHub App auth#482

Merged
openshift-merge-bot[bot] merged 1 commit into
validatedpatterns:mainfrom
sabre1041:github-app-auth
Dec 17, 2025
Merged

Added support for GitHub App auth#482
openshift-merge-bot[bot] merged 1 commit into
validatedpatterns:mainfrom
sabre1041:github-app-auth

Conversation

@sabre1041

Copy link
Copy Markdown
Contributor

Added support to authenticate using a GitHub App.

Related to #443

@openshift-ci

openshift-ci Bot commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

Hi @sabre1041. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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-sigs/prow repository.

@sabre1041 sabre1041 marked this pull request as ready for review November 29, 2025 16:30
@mbaldessari

Copy link
Copy Markdown
Contributor

/ok-to-test

@mbaldessari

Copy link
Copy Markdown
Contributor

Thanks @sabre1041 this lgtm. The only thing we will need to figure out is how to clone the git repo in the imperative bits here https://github.com/validatedpatterns/clustergroup-chart/blob/main/templates/imperative/_helpers.tpl#L49-L62. I suspect the time has come to rip that bandaid out and replace it with a tiny go binary that uses the argo pkgs to do the right thing in regards to git cloning for the imperative jobs.

@sabre1041

Copy link
Copy Markdown
Contributor Author

/ok-to-test

BeforeEach(func() {
clientset = fake.NewSimpleClientset()
secret = map[string][]byte{
"githubAppPrivateKey": []byte(`-----BEGIN RSA PRIVATE KEY-----

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we include a comment here that this is not a real/active private key?

@mbaldessari

Copy link
Copy Markdown
Contributor

/ok-to-test

Signed-off-by: Andrew Block <andy.block@gmail.com>
@sabre1041

Copy link
Copy Markdown
Contributor Author

@mbaldessari latest enhancement should address and resolve the failures experienced previously

Let me know if theres anything else that I'd be able to provide so that we would be able to integrate this feature

@mbaldessari

Copy link
Copy Markdown
Contributor

/ok-to-test

@mbaldessari

Copy link
Copy Markdown
Contributor

/lgtm

@mbaldessari

Copy link
Copy Markdown
Contributor

/approve

@mbaldessari

Copy link
Copy Markdown
Contributor

thanks @sabre1041 !

@openshift-ci

openshift-ci Bot commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mbaldessari, sabre1041

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

@mbaldessari

Copy link
Copy Markdown
Contributor

/ok-to-test

@openshift-merge-bot openshift-merge-bot Bot merged commit cad345d into validatedpatterns:main Dec 17, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants