-
Notifications
You must be signed in to change notification settings - Fork 34
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
feat:Including import credentials for project via secretRef #138
base: master
Are you sure you want to change the base?
Conversation
- password | ||
- secretName | ||
- secretNamespace | ||
- username |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are username
and password
required values or should the provider support imports from public repos?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
username and password are required only if importUrlSecretRef
is not nil. And yes the provider should also support imports from public repos. @abacus3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, thank. I think the name importUrlSecretRef´ is a bit misleading. Can we change it to something more explicit like
importCredentialsSecretRef`?
@frkouokam once this PR is ready to be merged can set it to "Ready for Review" and squash your changes into a single commit and sign it off? |
Description of your changes
API definition for secretRef has been added in project_types.go.
Retrieving secret and adding it to the importUrl has been implemented in controller/project.go (WIP)
Fixes #48
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested