-
Notifications
You must be signed in to change notification settings - Fork 18
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
Adding Porch private authenticated registries functionality #126
Conversation
/retest presubmit-nephio-go-test |
@Catalin-Stratulat-Ericsson: The
Use In response to this:
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. |
/test presubmit-nephio-go-test |
1 similar comment
/test presubmit-nephio-go-test |
/approve |
Just a side question: should all the functions use the same image pull secret? Probably that will be the most used scenario. But how about adding an imagePullSecret row in the kptfile? This will provide more flexibility.
|
|
…should have used update instead of patch for secret rbac
I understand the points thanks for explaining. In this case making changes in KPT file will result in making quite big changes in all the files. |
First of all thanks for this much needed feature! |
You are correct Istvan.
|
…pace and added argument to allow its configuration
Thank you for the detailed clarification. I haven't realized before that we need the same secret in two different namespaces. That properly explains the copying in the code. I think this also explains what my follow-up question would have been, namely why aren't we just adding the pull secretes to the appropriate service accounts (as explained here). But now I understand that wouldn't solve the authentication problem when the /lgtm |
|
…il after pod template is successful
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Catalin-Stratulat-Ericsson, JamesMcDermott, liamfallon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…tion (#178) Paired with PR [#126](nephio-project/porch#126) This provides documentation on how to configure porch to use external private authenticated registries.
Tackles #637
This PR adds the functionality for porch to use private authenticated container registries for its KPT functions in the porch packages.
It does this by mounting a docker config.json file as a secret which holds the authenticated information for the private repositories used by the user in their porch packages.
This secret information is then used as the ImagePullSecret on the KPT function pods created by the function runner at render time.
A documentation PR will soon follow which will document the configuration and i will link to it in this PR
Documentation PR #178
RBAC changes must be propagated in the catalog PR #126