Skip to content

Commit 4668e16

Browse files
committed
Improved some values
Signed-off-by: Yi Cai <yicai@redhat.com>
1 parent cedf8d2 commit 4668e16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/Integrate GitOps with Secrets Management.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ spec:
304304
provider: aws \\ Specify the provider as aws
305305
parameters: \\ Specify provider-specific parameters
306306
objects: |
307-
- objectName: "gitops-secret" \\ This is the secret name you created in AWS
307+
- objectName: "<your-secret-name>" \\ This is the secret name you created in AWS
308308
objectType: "secretsmanager"
309309
```
310310
After pushing this YAML file to your GitOps repository, the namespace-scoped `SecretProviderClass` resource will be populated in the target application page in Argo CD UI. You may need to manually **Sync** the `SecretProviderClass` resource if the Sync Policy your application is not set to Auto.
@@ -366,15 +366,15 @@ Click `REFRESH` on the target application page to apply the updated deployment m
366366
2. Verification
367367
List the secrets in the pod mount:
368368
```
369-
oc exec taxi-<hash> -n dev -- ls /mnt/secrets-store/
369+
oc exec <deployment-pod-name> -n dev -- ls /mnt/secrets-store/
370370
```
371371
*Example output*
372372
```
373-
gitops-secret
373+
<your-secret-name>
374374
```
375375
View a secret in the pod mount:
376376
```
377-
oc exec taxi-<hash> -n dev -- cat /mnt/secrets-store/gitops-secret
377+
oc exec <deployment-pod-name> -n dev -- cat /mnt/secrets-store/<your-secret-name>
378378
```
379379
*Example output*
380380
```

0 commit comments

Comments
 (0)