Skip to content

Commit

Permalink
Merge pull request #4782 from alphagov/update-github-unavailable-inst…
Browse files Browse the repository at this point in the history
…ructions

Remove Default Admin Login instructions when logging into ArgoCD
  • Loading branch information
minhngocd authored Aug 22, 2024
2 parents f0d3b5b + 69f47f2 commit f1e662c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions source/manual/github-unavailable.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,13 @@ echo $IMAGE_TAG

> ⚠️ This procedure will disable automatic deployments *for all applications*, not only in the environment you are working on but also in higher environments. For example, performing this procedure on integration will prevent all automatic deployments in integration, staging and production.
1. Fetch the password for the Argo CD `admin` user. This varies by environment.

```sh
kubectl -n cluster-services get secret argocd-initial-admin-secret -oyaml |yq .data.password |base64 -d
```

1. Log into Argo CD (for example in [integration](https://argo.eks.integration.govuk.digital/)).
1. Log into Argo CD with your GitHub account (for example in [integration](https://argo.eks.integration.govuk.digital/)).
1. Disable auto-sync for the `app-config` application:
1. From the Applications page (the Argo CD homepage), choose the `app-config` application.
1. Press the `App Details` button near the top of the page.
1. Press the `Details` button near the top left hand side of the page.
1. Scroll down to the bottom of the page and press `Disable auto-sync`. Argo will prompt you before actually disabling auto-sync.
1. Repeat the steps above to turn off auto-sync for the application you wish to deploy.
1. Close the `App details` sidebar, then select the Deploy object for the component of the application you'd like to redeploy. For example, to update the Sidekiq workers for Account API, you would open up the `account-api-worker` Deploy object.
1. Close the `Details` sidebar, then select the Deploy object for the component of the application you'd like to redeploy. For example, to update the Sidekiq workers for Account API, you would open up the `account-api-worker` Deploy object.
1. Go to `Live manifest` and select `Edit`.
1. Find the `image:` field for the `app` container. It should look something like `172025368201.dkr.ecr.eu-west-1.amazonaws.com/github/alphagov/govuk/<app-name>:v123`.
1. Update the tag part of the `image:` value to the new image tag that you pushed to ECR. The part you are changing should look something like `v123`.
Expand Down

0 comments on commit f1e662c

Please sign in to comment.