From 08cd92554947b0a5381d7e254be357573e2bf283 Mon Sep 17 00:00:00 2001 From: jasonviviano <83607984+jasonviviano@users.noreply.github.com> Date: Wed, 28 Feb 2024 16:05:54 +0000 Subject: [PATCH] Addressed feedback Signed-off-by: jasonviviano <83607984+jasonviviano@users.noreply.github.com> --- .../author-apps/kubernetes/how-to-kubernetes-resource/index.md | 2 +- .../how-to-kubernetes-resource/snippets/app-kubernetes.bicep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/guides/author-apps/kubernetes/how-to-kubernetes-resource/index.md b/docs/content/guides/author-apps/kubernetes/how-to-kubernetes-resource/index.md index e41c82444..247458218 100644 --- a/docs/content/guides/author-apps/kubernetes/how-to-kubernetes-resource/index.md +++ b/docs/content/guides/author-apps/kubernetes/how-to-kubernetes-resource/index.md @@ -66,7 +66,7 @@ Resources: Starting log stream... ``` -Navigate to the `Container Metadata` tab and the `Environment variables` section which are located near the bottom of the Radius demo webpage, there will be row dedicated to your Kubernetes secret object: +Open [http://localhost:3000](http://localhost:3000) to view the Radius demo container. Then navigate to the `Container Metadata` tab and the `Environment variables` section which are located near the bottom of the Radius demo webpage, there will be row dedicated to your Kubernetes secret object: {{< image src="demo-secret-object.png" alt="Screenshot of Radius Demo app `Environment variables section" width="700px" >}} diff --git a/docs/content/guides/author-apps/kubernetes/how-to-kubernetes-resource/snippets/app-kubernetes.bicep b/docs/content/guides/author-apps/kubernetes/how-to-kubernetes-resource/snippets/app-kubernetes.bicep index f08519686..60333de0d 100644 --- a/docs/content/guides/author-apps/kubernetes/how-to-kubernetes-resource/snippets/app-kubernetes.bicep +++ b/docs/content/guides/author-apps/kubernetes/how-to-kubernetes-resource/snippets/app-kubernetes.bicep @@ -27,7 +27,7 @@ resource demo 'Applications.Core/containers@2023-10-01-preview' = { } } env: { - SECRET: base64ToString(secret.data.key) + SECRET: base64ToString(secret.data['my-secret-key']) } } }