Skip to content

Commit 964909b

Browse files
authored
[CHORE] Add install external-secrets for helm (#1758)
### Description - Without installing the external-secret repo for helm, the `fake-secret-store` installation will fail. - Add install external-secrets for helm ### Context - document improvement ### Testing - `./gradlew test`
2 parents 1e3a54f + a45f9f6 commit 964909b

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

helm-charts/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ minikube start
2525

2626
```bash
2727
helm repo add external-secrets https://charts.external-secrets.io
28+
helm repo update
2829
helm install external-secrets \
2930
external-secrets/external-secrets \
3031
-n external-secrets \
@@ -37,6 +38,7 @@ To install `postgresql` and `postgresql-ref`, run the following commands:
3738

3839
```bash
3940
helm repo add bitnami https://charts.bitnami.com/bitnami
41+
helm repo update
4042
helm install postgresql-ref bitnami/postgresql --version 15.1.2 --set global.postgresql.auth.postgresPassword=123456789
4143
helm install postgresql bitnami/postgresql --version 15.1.2 --set global.postgresql.auth.postgresPassword=123456789
4244
```
@@ -58,7 +60,7 @@ This should only be run one time.
5860

5961
```bash
6062
source ../.env
61-
helm upgrade --install fake-secret-store ./secret-store/ --set sep10_signing_seed=$SECRET_SEP10_SIGNING_SEED --set sentry_auth_token=$SENTRY_AUTH_TOKEN --set payment_signing_seed=${APP__PAYMENT_SIGNING_SEED}
63+
helm upgrade --install fake-secret-store ./secret-store/ --set sep10_signing_seed=$SECRET_SEP10_SIGNING_SEED --set sentry_auth_token=$SENTRY_AUTH_TOKEN --set payment_signing_seed=$APP__PAYMENT_SIGNING_SEED
6264
```
6365

6466
To show if the secret store is running, run the following command:

helm-charts/secret-store/templates/secretstore.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
"SEP24_MORE_INFO_URL_JWT_SECRET": "b106cce1e32ebe342ea1e38d363fe048c7dc9c1b773658f83e22b78125785d89",
1919
"SEP6_MORE_INFO_URL_JWT_SECRET": "3a614cf5da456aaad61dc7532f6c422fc2b833c0c05102b47b1ac2e8f0bff2e8",
2020
"SEP10_JWT_SECRET": "10bb04a51338a1df86c2e807f8fe36168cf9a480d70c233452ec7e198ab33b7c",
21-
"SEP10_SIGNING_SEED": {{ .Values.sep10_signing_seed }},
21+
"SEP10_SIGNING_SEED": "{{ .Values.sep10_signing_seed }}",
2222
"EVENTS_QUEUE_KAFKA_USERNAME": "user1",
2323
"EVENTS_QUEUE_KAFKA_PASSWORD": "123456789",
2424
"SENTRY_AUTH_TOKEN": {{ default "\"\"" .Values.sentry_auth_token }}
@@ -28,7 +28,7 @@ spec:
2828
{
2929
"POSTGRES_USER": "postgres",
3030
"POSTGRES_PASSWORD": "123456789",
31-
"PAYMENT_SIGNING_SEED": {{ .Values.payment_signing_seed }},
31+
"PAYMENT_SIGNING_SEED": "{{ .Values.payment_signing_seed }}",
3232
"SEP24_INTERACTIVE_JWT_KEY": "c5457e3a349df9002117543efa7e316dd89e666a5ce6f33a0deb13e90f3f1e9d",
3333
"PLATFORM_ANCHOR_SECRET": "myPlatformToAnchorSecret",
3434
"ANCHOR_PLATFORM_SECRET": "myAnchorToPlatformSecret",

0 commit comments

Comments
 (0)