Browse Source

docs: remove additional space in dockercreds example that causes the last curly brace to be removed (#2877)

Signed-off-by: Vivian Ta <ta.vivian@gmail.com>
visokoo 2 years ago
parent
commit
2e4067ed3f
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

@@ -52,7 +52,7 @@ spec:
     template:
       type: kubernetes.io/dockerconfigjson
       data:
-        .dockerconfigjson: '{"auths":{"{{ .registryName | lower }}.{{ .registryHost }}":{"username":"{{ .registryName }}","password":"{{ .password }}", "auth":"{{ printf "%s:%s" .registryName .password | b64enc }}"}}}'
+        .dockerconfigjson: '{"auths":{"{{ .registryName | lower }}.{{ .registryHost }}":{"username":"{{ .registryName }}","password":"{{ .password }}","auth":"{{ printf "%s:%s" .registryName .password | b64enc }}"}}}'
   data:
   - secretKey: registryName
     remoteRef: