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

Support loading GitHub secrets from GCPSecretManager #2

Merged
merged 2 commits into from
Nov 20, 2022
Merged

Support loading GitHub secrets from GCPSecretManager #2

merged 2 commits into from
Nov 20, 2022

Conversation

jlewi
Copy link
Owner

@jlewi jlewi commented Nov 20, 2022

* Support loading GihubApp private keys (and other secrets) from GCPSecret Manager

* Create the files package which defines a FileHelper interface which can be supported
  across different file systems

  * This is based on https://github.com/kubeflow/internal-acls/blob/master/google_groups/pkg/gcp/gcs/filehelper.go

* Add an implementation for GCPSecretManager and for LocalFileHelper

  * There is a GCS implementation we should copy later from https://github.com/kubeflow/internal-acls/blob/master/google_groups/pkg/gcp/gcs/filehelper.go

* Refactor the GitHub transport manager to take the data of the private key
  rather than the private key file

  * This will enable us to load the key from different storage systems such as GCP Secret Manager.
@jlewi jlewi enabled auto-merge (squash) November 20, 2022 01:15
@jlewi jlewi merged commit 00edb64 into main Nov 20, 2022
@jlewi jlewi deleted the jlewi branch November 20, 2022 01:19
@jlewi jlewi mentioned this pull request Nov 24, 2022
jlewi pushed a commit that referenced this pull request Nov 28, 2022
# This is the 1st commit message:

hydros automatically committing all files before running a sync
# This is the commit message #2:

hydros automatically committing all files before running a sync
# This is the commit message #3:

hydros automatically committing all files before running a sync
# This is the commit message #4:

hydros automatically committing all files before running a sync
# This is the commit message #5:

Remove binary

# This is the commit message #6:

hydros automatically committing all files before running a sync
# This is the commit message #7:

hydros automatically committing all files before running a sync
# This is the commit message #8:

Fix ssh key.

# This is the commit message #9:

Delete .idea

# This is the commit message #10:

hydros automatically committing all files before running a sync
# This is the commit message #11:

Revert "hydros automatically committing all files before running a sync"

This reverts commit e20ecba.

# This is the commit message #12:

hydros automatically committing all files before running a sync
# This is the commit message #13:

hydros automatically committing all files before running a sync
# This is the commit message #14:

hydros automatically committing all files before running a sync.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant