From a18bc9ab311be0553d1530df4cc940de3b97f673 Mon Sep 17 00:00:00 2001 From: Gerd Oberlechner Date: Fri, 1 Nov 2024 12:55:38 +0100 Subject: [PATCH] deploy fixes for CS PR env follows up on https://github.com/Azure/ARO-HCP/pull/762 Signed-off-by: Gerd Oberlechner --- .github/workflows/services-cd.yml | 2 +- dev-infrastructure/docs/development-setup.md | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/services-cd.yml b/.github/workflows/services-cd.yml index f1d98da76..d7a7adee1 100644 --- a/.github/workflows/services-cd.yml +++ b/.github/workflows/services-cd.yml @@ -103,7 +103,7 @@ - name: 'Deploy CS PR check environment dressup' if: inputs.deploy_cs_pr_check_deps run: | - ./svc-deploy.sh $(DEPLOY_ENV) cluster-service svc deploy-pr-env-deps + ./svc-deploy.sh ${DEPLOY_ENV} cluster-service svc deploy-pr-env-deps deploy_to_management_cluster: permissions: diff --git a/dev-infrastructure/docs/development-setup.md b/dev-infrastructure/docs/development-setup.md index ae68fe347..ad122cab6 100644 --- a/dev-infrastructure/docs/development-setup.md +++ b/dev-infrastructure/docs/development-setup.md @@ -102,7 +102,7 @@ Every developer creates their own set of service/management clusters, including In order to access shared Service Principle credentials you need access to the Key Vault. To grant yourself access, run ```bash -az role assignment create --role "Key Vault Secrets User" --assignee $(az ad signed-in-user show --query id -o tsv) --scope $(az keyvault show --name service-kv-aro-hcp-dev --query id -o tsv) +az role assignment create --role "Key Vault Secrets User" --assignee $(az ad signed-in-user show --query id -o tsv) --scope $(az keyvault show --name aro-hcp-dev-svc-kv --query id -o tsv) ``` Note: you only need to run this once. Re-runing it wont hurt, but it will not change anything. @@ -150,6 +150,14 @@ The base configuration for all Red Hat Azure Subscription based deployments can The deployment environment used for personal developer infrastructure is found under `.clouds.public.environments.personal-dev`. It inherits from `rh-dev-tmpl` and defines certain overrides. +You can inspect the final results of configuration value overrides by running + + ```bash + ./templatize.sh | jq + e.g. + ./templatize.sh personal-dev | jq + ``` + ### Access AKS clusters Running `make infra.all` will provide you with cluster admin on your clusters and kubeconfig files being created under `~/.kube`. The kubeconfigs are named after the resource group name that holds the cluster. The term `svc` and `mgmt` used in these filesnames indicate what cluster they are for.