From 58f5b6eafc49493b81592fd3565e2e3aa5985519 Mon Sep 17 00:00:00 2001 From: Lenny Chen <55669665+lennessyy@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:36:30 -0700 Subject: [PATCH] =?UTF-8?q?docs:=20profile=20basic=20information=20regardi?= =?UTF-8?q?ng=20external=20registry=20using=20pro=E2=80=A6=20(#3661)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: profile basic information regarding external registry using profiles * docs: add instructions for private registries * docs: fix syntax issue * docs: add info on how to provide secrets * docs: clarify parameters * docs: adjust heading levels * docs: fix syntax issue * Update docs/docs-content/clusters/edge/site-deployment/deploy-custom-registries/local-registry.md Co-authored-by: Karl Cardenas <29551334+karl-cardenas-coding@users.noreply.github.com> * ci: auto-formatting prettier issues --------- Co-authored-by: Lenny Chen Co-authored-by: Rishi Anand Co-authored-by: Karl Cardenas <29551334+karl-cardenas-coding@users.noreply.github.com> Co-authored-by: lennessyy --- .../local-registry.md | 88 ++++++++++++++++++- 1 file changed, 87 insertions(+), 1 deletion(-) diff --git a/docs/docs-content/clusters/edge/site-deployment/deploy-custom-registries/local-registry.md b/docs/docs-content/clusters/edge/site-deployment/deploy-custom-registries/local-registry.md index c2704b3279..faacbfabd1 100644 --- a/docs/docs-content/clusters/edge/site-deployment/deploy-custom-registries/local-registry.md +++ b/docs/docs-content/clusters/edge/site-deployment/deploy-custom-registries/local-registry.md @@ -45,7 +45,9 @@ to + type: Opaque + ``` + + | Parameter | Description | + | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | + | `data.url` | The URL of the registry in base-64 encoded format. For image registries, this includes only the hostname. For example, `aHR0cHM6Ly9kb2NrZXIuaW8=` for `docker.io`. For helm registries, include both scheme and hostname. For example, `https://blr-artifactory.apps.beehive.net` in based-64 encoded format. | + | `data.username` | The username used to log in to the registry in base-64 encoded format. | + | `data.password` | The password of the user in base-64 encoded format. | + | `metadata.name` | Optional. A human-readable name you may give the registry. | + + The following is an example of a manifest providing the credentials providing credentials to multiple registries, + including both image registries and helm registries. + + ```yaml + apiVersion: v1 + data: + password: + url: ZWRnZS51cy13ZXN0Mi5hcnRpZmFjdG9yeS5jb20= + username: dXNlcjE= + kind: Secret + metadata: + labels: + spectrocloud.com/registry: "true" + name: image-registry1 + type: Opaque + --- + apiVersion: v1 + data: + password: + url: aHR0cHM6Ly9lZGdlLnVzLXdlc3QyLmFydGlmYWN0b3J5LmNvbQ== + username: dXNlcjE= + kind: Secret + metadata: + labels: + spectrocloud.com/registry: "true" + name: helm-registry1 + type: Opaque + ``` + +10. Use the cluster profile to create your Edge cluster. For more information, refer to + [Create Cluster Definition](../cluster-deployment.md). + +### Save Profile and Deploy Cluster + 8. Click **Save Changes**. 9. Deploy a new Edge cluster with your updated profile. Or, if you have an active cluster, update the cluster to use the