Skip to content

Update ASO documentation to include postgres setup script info #35785

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

Merged
merged 5 commits into from
Jan 17, 2025
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
7 changes: 7 additions & 0 deletions docs/aso-setup-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,10 @@ Note: You need to [install yq](https://mikefarah.gitbook.io/yq/) for these scrip
key: connectionString
```
- Follow [chart-servicebus](https://github.com/hmcts/chart-servicebus) documentation for configuring queues and topics.

## Postgres Flexible Server

- Run [postgres-setup.sh](../bin/v2/postgres-setup.sh) with your namespace and app name.
```bash
./bin/v2/postgres-setup.sh <your namespace> <app name>
```
4 changes: 2 additions & 2 deletions docs/secrets-sops-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Install sops:
brew install sops
```

#### Steps to SOPS Encrypt
## Create a Kubernetes Secret (Unencrypted):

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is more about creating a kubernetes secret that isn't encrypted

The following is an example for kube-prometheus-stack:

Expand Down Expand Up @@ -44,7 +44,7 @@ metadata:
type: Opaque
```

## Here is where you Encrypt using SOP in Flux V2:
## Encrypt Kubernetes Secret (from step 1):

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This applies to all files

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You create the secret unencrypted first and then encrypt

You want to use the kv that matches your environment.
The number after sops-key is the CURRENT VERSION this can be found in azure keyvault under keys/sops-key.
Expand Down
Loading