mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
Update common-k8s-secret-types.md to fix get secret jsonpath (#3434)
Signed-off-by: Tyki6 <57527739+tyki6@users.noreply.github.com>
This commit is contained in:
parent
bfea380daa
commit
e32233f401
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ This will generate a valid dockerconfigjson secret for you to use!
|
|||
You can get the final value with:
|
||||
|
||||
```bash
|
||||
kubectl get secret secret-to-be-created -n <namespace> -o jsonpath="{.data\.dockerconfigjson}" | base64 -d
|
||||
kubectl get secret secret-to-be-created -n <namespace> -o jsonpath="{.data.\.dockerconfigjson}" | base64 -d
|
||||
```
|
||||
|
||||
Alternately, if you only have the container registry name and password value, you can take advantage of the advanced ExternalSecret templating functions to create the secret:
|
||||
|
|
Loading…
Reference in a new issue