From 1a4173d32e3c96abaf4673a702ecbde4762b1881 Mon Sep 17 00:00:00 2001 From: Radius CI Bot Date: Fri, 11 Oct 2024 17:52:44 +0000 Subject: [PATCH 1/9] Update docs for v0.39.0 --- docs/config.toml | 8 ++++---- docs/layouts/partials/hooks/body-end.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/config.toml b/docs/config.toml index 01ff03b9f..14cde251f 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://edge.docs.radapp.io/" +baseURL = "https://docs.radapp.io/" languageCode = "en-us" title = "Radius Docs" theme = "docsy" @@ -67,9 +67,9 @@ tag = "tags" [params] copyright = "The Radius Authors. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see the https://linuxfoundation.org/trademark-usage/ page." -version = "edge" +version = "v0.39" tag_version = "latest" -chart_version = "0.26.0" +chart_version = "0.39.0" # Algolia Search algolia_docsearch = true @@ -77,7 +77,7 @@ algolia_docsearch = true # GitHub Information github_repo = "https://github.com/radius-project/docs" github_subdir = "docs" -github_branch = "edge" +github_branch = "v0.39" github_project_repo = "https://github.com/radius-project/radius" # Versioning diff --git a/docs/layouts/partials/hooks/body-end.html b/docs/layouts/partials/hooks/body-end.html index 3f4109e18..f640ff308 100644 --- a/docs/layouts/partials/hooks/body-end.html +++ b/docs/layouts/partials/hooks/body-end.html @@ -5,7 +5,7 @@ container: '#docsearch', appId: 'ED67NSVSZS', apiKey: '21e2920c3a9c29b98cbc382694413f29', - indexName: 'radapp-dev-edge', + indexName: 'radapp-dev', }); {{ end }} From 57f49e15343715b271f5eb75c81f6c25ae394f09 Mon Sep 17 00:00:00 2001 From: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:39:57 -0400 Subject: [PATCH 2/9] Add IRSA to the cloud provider table (#1262) * Update index.md Signed-off-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> * Update index.md Signed-off-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> --------- Signed-off-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> --- .../providers/aws-provider/howto-aws-provider-irsa/index.md | 2 +- docs/content/guides/operations/providers/overview/index.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/guides/operations/providers/aws-provider/howto-aws-provider-irsa/index.md b/docs/content/guides/operations/providers/aws-provider/howto-aws-provider-irsa/index.md index 36982f53d..3c7c7d4b0 100644 --- a/docs/content/guides/operations/providers/aws-provider/howto-aws-provider-irsa/index.md +++ b/docs/content/guides/operations/providers/aws-provider/howto-aws-provider-irsa/index.md @@ -20,7 +20,7 @@ The AWS provider allows you to deploy and connect to AWS resources from a Radius - [rad CLI]({{< ref "installation#step-1-install-the-rad-cli" >}}) - [Setup a supported Kubernetes cluster]({{< ref "/guides/operations/kubernetes/overview#supported-clusters" >}}) - You will need the cluster's OIDC Issuer URL. [EKS Example](https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) -- [Create an IAM Policy] (https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html) +- [Create an IAM Policy](https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html) ## Setup the AWS IAM Roles for Service Accounts(IRSA) for Radius diff --git a/docs/content/guides/operations/providers/overview/index.md b/docs/content/guides/operations/providers/overview/index.md index d2d2c4790..a0cdf0f9a 100644 --- a/docs/content/guides/operations/providers/overview/index.md +++ b/docs/content/guides/operations/providers/overview/index.md @@ -19,3 +19,4 @@ Radius cloud providers allow you to deploy and connect to cloud resources across | [Microsoft Azure]({{< ref azure-provider >}}) | [Service Principal](https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals?tabs=browser) | Deploy and connect to Azure resources using Service Principal | | | [Workload Identity](https://learn.microsoft.com/en-us/entra/workload-id/workload-identities-overview) | Deploy and connect to Azure resources using Workload Identity | | [Amazon Web Services]({{< ref aws-provider >}}) | [IAM access Key](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html) | Deploy and connect to AWS resources using IAM Access Key | +| | [IAM Roles for Service Accounts](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) | Deploy and connect to AWS resources using AWS IRSA | From 0922b29ce3667603e406edfab9981b5da9960064 Mon Sep 17 00:00:00 2001 From: Will <28876888+willtsai@users.noreply.github.com> Date: Fri, 18 Oct 2024 11:34:41 -0700 Subject: [PATCH 3/9] create CODEOWNERS (#1263) Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com> --- CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 000000000..b43b79f29 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,2 @@ +# These owners are the maintainers and approvers of this repo +* @radius-project/maintainers-docs @radius-project/approvers-docs \ No newline at end of file From 7ed3cea5de7f14f7c174cab0b60a54b6af114a38 Mon Sep 17 00:00:00 2001 From: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:59:59 -0400 Subject: [PATCH 4/9] Update the supported clusters link in getting started guide (#1238) * Update docs for v0.38.0 * Update index.md Signed-off-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> --------- Signed-off-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> Co-authored-by: Radius CI Bot --- docs/content/getting-started/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/getting-started/index.md b/docs/content/getting-started/index.md index 5caceeb49..3a57de544 100644 --- a/docs/content/getting-started/index.md +++ b/docs/content/getting-started/index.md @@ -26,7 +26,7 @@ The Radius getting-started guide can be [run **for free** in a GitHub Codespace] ## 1. Have your Kubernetes cluster handy Radius runs inside [Kubernetes]({{< ref "guides/operations/kubernetes" >}}). However you run Kubernetes, get a cluster ready. -> *If you don't have a preferred way to create Kubernetes clusters, you could try using [k3d](https://k3d.io/), which runs a minimal Kubernetes distribution in Docker. Make sure to apply the [recommended configuration]({{< ref "guides/operations/kubernetes/overview##supported-kubernetes-clusters" >}}).* +> *If you don't have a preferred way to create Kubernetes clusters, you could try using [k3d](https://k3d.io/), which runs a minimal Kubernetes distribution in Docker. Make sure to apply the [recommended configuration]({{< ref "guides/operations/kubernetes/overview#supported-kubernetes-clusters" >}}).* Ensure your cluster is set as your current context: From 855cfd10189f7a6754ead9269ebb87b925fe29d7 Mon Sep 17 00:00:00 2001 From: Will Smith Date: Fri, 8 Nov 2024 11:49:23 -0800 Subject: [PATCH 5/9] Remove broken signoff argument (#1269) Signed-off-by: willdavsmith --- .github/workflows/upmerge.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upmerge.yaml b/.github/workflows/upmerge.yaml index 63d422bde..69e1cd82b 100644 --- a/.github/workflows/upmerge.yaml +++ b/.github/workflows/upmerge.yaml @@ -79,4 +79,4 @@ jobs: if: env.NO_CHANGES != 'true' env: GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT}} - run: gh pr create --title "Upmerge to edge" --body "Upmerge to edge (kicked off by @${{ github.triggering_actor }})" --base edge --head $BRANCH_NAME --signoff + run: gh pr create --title "Upmerge to edge" --body "Upmerge to edge (kicked off by @${{ github.triggering_actor }})" --base edge --head $BRANCH_NAME From c5fa7979ac051ff34842da5d9571cd9a0a9a9faf Mon Sep 17 00:00:00 2001 From: Will Smith Date: Mon, 11 Nov 2024 11:09:38 -0800 Subject: [PATCH 6/9] Fix GH PAT scope (#1272) Signed-off-by: willdavsmith --- .github/workflows/upmerge.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upmerge.yaml b/.github/workflows/upmerge.yaml index 69e1cd82b..f57422178 100644 --- a/.github/workflows/upmerge.yaml +++ b/.github/workflows/upmerge.yaml @@ -58,6 +58,8 @@ jobs: # branch is assumed to be the current release branch, but could be any branch. # If there are no changes, stop the workflow. - name: Upmerge docs + env: + GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} run: | export SOURCE_BRANCH=$(basename ${{ github.ref }}) echo "Upmerging docs from $SOURCE_BRANCH to edge" @@ -78,5 +80,5 @@ jobs: - name: Create pull request if: env.NO_CHANGES != 'true' env: - GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT}} + GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} run: gh pr create --title "Upmerge to edge" --body "Upmerge to edge (kicked off by @${{ github.triggering_actor }})" --base edge --head $BRANCH_NAME From b93014a691f45eb30fe4b2f9c07ba08f86bc9317 Mon Sep 17 00:00:00 2001 From: Will Smith Date: Mon, 11 Nov 2024 11:28:25 -0800 Subject: [PATCH 7/9] adding gh auth login (#1273) Signed-off-by: willdavsmith --- .github/workflows/upmerge.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/upmerge.yaml b/.github/workflows/upmerge.yaml index f57422178..17d49e003 100644 --- a/.github/workflows/upmerge.yaml +++ b/.github/workflows/upmerge.yaml @@ -61,6 +61,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} run: | + gh auth login --with-token $GITHUB_TOKEN + export SOURCE_BRANCH=$(basename ${{ github.ref }}) echo "Upmerging docs from $SOURCE_BRANCH to edge" git fetch origin $SOURCE_BRANCH From fc17439a67de2c450299f4ef709d36dff95db519 Mon Sep 17 00:00:00 2001 From: Will Smith Date: Mon, 11 Nov 2024 13:57:35 -0800 Subject: [PATCH 8/9] Fix gh auth login command (#1274) Signed-off-by: willdavsmith --- .github/workflows/upmerge.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/upmerge.yaml b/.github/workflows/upmerge.yaml index 17d49e003..2d0dce9ac 100644 --- a/.github/workflows/upmerge.yaml +++ b/.github/workflows/upmerge.yaml @@ -44,7 +44,8 @@ jobs: run: | git config --global user.email "radiuscoreteam@service.microsoft.com" git config --global user.name "Radius CI Bot" - + gh auth login --with-token <<< "${{ secrets.GH_RAD_CI_BOT_PAT }}" + # Create a new branch from edge. This branch will be used to PR back into edge. - name: Create new branch run: | @@ -58,11 +59,7 @@ jobs: # branch is assumed to be the current release branch, but could be any branch. # If there are no changes, stop the workflow. - name: Upmerge docs - env: - GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} run: | - gh auth login --with-token $GITHUB_TOKEN - export SOURCE_BRANCH=$(basename ${{ github.ref }}) echo "Upmerging docs from $SOURCE_BRANCH to edge" git fetch origin $SOURCE_BRANCH @@ -81,6 +78,4 @@ jobs: # Create a PR from the new branch to edge - name: Create pull request if: env.NO_CHANGES != 'true' - env: - GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} run: gh pr create --title "Upmerge to edge" --body "Upmerge to edge (kicked off by @${{ github.triggering_actor }})" --base edge --head $BRANCH_NAME From 0e2ec83c53b2aa37d39791be0a1f1c20e7b9666e Mon Sep 17 00:00:00 2001 From: willdavsmith Date: Tue, 12 Nov 2024 09:42:10 -0800 Subject: [PATCH 9/9] Adding GH_TOKEN Signed-off-by: willdavsmith --- .github/workflows/upmerge.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upmerge.yaml b/.github/workflows/upmerge.yaml index 2d0dce9ac..3afece868 100644 --- a/.github/workflows/upmerge.yaml +++ b/.github/workflows/upmerge.yaml @@ -39,12 +39,15 @@ jobs: ref: edge # https://github.com/actions/checkout/issues/125#issuecomment-570254411 fetch-depth: 0 + persist-credentials: false - name: Configure git + env: + GH_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} run: | git config --global user.email "radiuscoreteam@service.microsoft.com" git config --global user.name "Radius CI Bot" - gh auth login --with-token <<< "${{ secrets.GH_RAD_CI_BOT_PAT }}" + git remote set-url origin https://$GH_TOKEN@github.com/${{ github.repository }} # Create a new branch from edge. This branch will be used to PR back into edge. - name: Create new branch @@ -78,4 +81,6 @@ jobs: # Create a PR from the new branch to edge - name: Create pull request if: env.NO_CHANGES != 'true' + env: + GH_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} run: gh pr create --title "Upmerge to edge" --body "Upmerge to edge (kicked off by @${{ github.triggering_actor }})" --base edge --head $BRANCH_NAME