Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy fixes for CS PR env #792

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/services-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 9 additions & 1 deletion dev-infrastructure/docs/development-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 <DEPLOY_ENV> | 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.
Expand Down