From bc1c6eb97c654ec078ba6524eb5c79162642c808 Mon Sep 17 00:00:00 2001 From: jasonviviano <83607984+jasonviviano@users.noreply.github.com> Date: Fri, 8 Mar 2024 21:50:32 +0000 Subject: [PATCH] Added an explanation to the `resource` property. Signed-off-by: jasonviviano <83607984+jasonviviano@users.noreply.github.com> --- docs/content/guides/recipes/howto-private-registry/index.md | 2 +- .../guides/recipes/howto-private-registry/snippets/env.bicep | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/guides/recipes/howto-private-registry/index.md b/docs/content/guides/recipes/howto-private-registry/index.md index 518c2b154..175a0464a 100644 --- a/docs/content/guides/recipes/howto-private-registry/index.md +++ b/docs/content/guides/recipes/howto-private-registry/index.md @@ -29,7 +29,7 @@ The PAT should have access to read the files inside the specific private reposit ## Step 2: Define a secret store resource -Configure a [Radius Secret Store]({{< ref "/guides/author-apps/secrets/overview" >}}) with the personal access token or username + password you previously created, which has access to your private git repository. +Configure a [Radius Secret Store]({{< ref "/guides/author-apps/secrets/overview" >}}) with the personal access token or username + password you previously created, which has access to your private git repository. Define a the namespace for the cluster that will contain your [Kubernetes Secret](https://kubernetes.io/docs/concepts/configuration/secret/) with the `resource` property. > While this example shows a Radius-managed secret store where Radius creates the underlying secrets infrastructure, you can also bring your own existing secrets. Refer to the [secrets documentation]({{< ref "/guides/author-apps/secrets/overview" >}}) for more information. diff --git a/docs/content/guides/recipes/howto-private-registry/snippets/env.bicep b/docs/content/guides/recipes/howto-private-registry/snippets/env.bicep index 48ba3c4dc..78fa42ebe 100644 --- a/docs/content/guides/recipes/howto-private-registry/snippets/env.bicep +++ b/docs/content/guides/recipes/howto-private-registry/snippets/env.bicep @@ -8,6 +8,7 @@ param pat string resource secretStoreGit 'Applications.Core/secretStores@2023-10-01-preview' = { name: 'my-git-secret-store' properties: { + resource: 'my-secret-namespace/github' type: 'generic' data: { pat: {