Browse Source

Update common-k8s-secret-types.md to fix get secret jsonpath (#3434)

Signed-off-by: Tyki6 <57527739+tyki6@users.noreply.github.com>
Tyki6 1 year ago
parent
commit
e32233f401
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/guides/common-k8s-secret-types.md

+ 1 - 1
docs/guides/common-k8s-secret-types.md

@@ -32,7 +32,7 @@ This will generate a valid dockerconfigjson secret for you to use!
 You can get the final value with:
 You can get the final value with:
 
 
 ```bash
 ```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:
 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: