Skip to content

Commit

Permalink
Update readme (#1118)
Browse files Browse the repository at this point in the history
* test pr workflow

* test pr workflow

* revert script changes

* update readme

---------

Co-authored-by: Richard Hagen <[email protected]>
  • Loading branch information
Richard87 and Richard87 authored Dec 14, 2023
1 parent 1b68354 commit dcf4460
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ This scripts takes care of bootstrapping new cluster (if it hasn't been created

The whole process should be handled by the [migrate.sh](./migrate.sh) script. See file header in for usage. The only exception is the last manual step to make the cluster the active one.

#### 2.1.2 Manuall steps:

- Run SQL Server scripts to fix user accounts for vulnerability scanner and cost api
- Trigger Github Action to migrate custom ingresses. Change active cluster here: https://github.com/equinor/radix-flux/edit/master/clusters/development/postBuild.yaml (development)
- Make sure the scripts completes without errors... often fails because of Token Timeout

### 2.2 Setting up a cluster from scratch

There are seven steps to setting up a Radix cluster from scratch. These steps can be run individually when modifying an existing cluster, or sequentially when setting up a new cluster:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cost-allocation/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@ printf "Done bootstrapping Radix Cost Allocation prerequisites.\n"

(RADIX_ZONE_ENV="$RADIX_ZONE_ENV" USER_PROMPT="$USER_PROMPT" REGENERATE_SQL_PASSWORD="$REGENERATE_API_PASSWORD" "${script_dir_path}/bootstrap_api.sh")
wait # wait for subshell to finish
printf "Done bootstrapping Radix Cost Allocation API prerequisites.\n"
printf "Done bootstrapping Radix Cost Allocation API prerequisites.\n"
2 changes: 1 addition & 1 deletion scripts/vulnerability-scanner/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,4 @@ printf "Done bootstrapping Radix Vulnerability Scanner prerequisites.\n"
(RADIX_ZONE_ENV="$RADIX_ZONE_ENV" USER_PROMPT="$USER_PROMPT" REGENERATE_SQL_PASSWORD="$REGENERATE_API_PASSWORD" "${script_dir_path}/bootstrap_api.sh")

wait # wait for subshell to finish
printf "Done bootstrapping Radix Vulnerability Scanner API prerequisites.\n"
printf "Done bootstrapping Radix Vulnerability Scanner API prerequisites.\n"

0 comments on commit dcf4460

Please sign in to comment.