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

Adding Porch private authenticated registries functionality documentation #178

Merged
merged 21 commits into from
Nov 7, 2024

Conversation

Catalin-Stratulat-Ericsson
Copy link
Contributor

Paired with PR #126

This provides documentation on how to configure porch to use external private authenticated registries.

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for nephio ready!

Name Link
🔨 Latest commit aa7129e
🔍 Latest deploy log https://app.netlify.com/sites/nephio/deploys/672b86a9f117340008606281
😎 Deploy Preview https://deploy-preview-178--nephio.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Catalin-Stratulat-Ericsson Catalin-Stratulat-Ericsson changed the title Porch private authenticated registries documentation Adding Porch private authenticated registries functionality documentation Oct 22, 2024
@CsatariGergely
Copy link
Contributor

/approve

@nephio-prow nephio-prow bot added the approved label Oct 22, 2024
@Catalin-Stratulat-Ericsson
Copy link
Contributor Author

/retest

@nephio-prow nephio-prow bot removed the approved label Oct 29, 2024
@JamesMcDermott
Copy link
Contributor

/approve

{{% /alert %}}

This should generate a secret template, similar to the one below, which you can add to the *2-function-runner.yaml* file in the Porch catalog package found [here](https://github.com/nephio-project/catalog/tree/main/nephio/core/porch)

Copy link
Contributor

Choose a reason for hiding this comment

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

@Catalin-Stratulat-Ericsson Secret generated like this kubectl create secret docker-registry XXXX --docker-server=https://index.docker.io/v1/ --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>

Should also work I suppose? That creates a .dockerconfigjson inside secrets.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  1. So long as the content being put into the secret is in the JSON format and follows the docker config.json schema it should work just fine.
  2. One side note i will say regarding doing it that way is that you would be leaving your password/token in plaintext in the terminal and also in the history of the machine which i don't believe should be encouraged or used as the preferred way to create the secret in the documentation.

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay I agree with the second point but we can always remove it from the history using history -d <line-number>

@arora-sagar
Copy link
Contributor

/approve

@nephio-prow nephio-prow bot added the approved label Nov 5, 2024
@arora-sagar
Copy link
Contributor

Once --> nephio-project/porch#126 is merged then this PR can be merged

@kispaljr
Copy link
Contributor

kispaljr commented Nov 5, 2024

Once --> nephio-project/porch#126 is merged then this PR can be merged

+1

Copy link
Contributor

@JamesMcDermott JamesMcDermott left a comment

Choose a reason for hiding this comment

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

Another few wording/grammar comments

@JamesMcDermott
Copy link
Contributor

/approve

@liamfallon
Copy link
Member

/approve
/lgtm

Copy link
Contributor

nephio-prow bot commented Nov 7, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: arora-sagar, 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:
  • OWNERS [arora-sagar,liamfallon]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nephio-prow nephio-prow bot merged commit ee64b56 into nephio-project:main Nov 7, 2024
9 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.

6 participants