File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
content/en/docs/concepts/configuration Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ kubectl create secret docker-registry secret-tiger-docker \
202
202
--docker-username=tiger \
203
203
--docker-password=pass113 \
204
204
205
- --docker-server=my-registry:5000
205
+ --docker-server=my-registry.example :5000
206
206
` ` `
207
207
208
208
This command creates a Secret of type `kubernetes.io/dockerconfigjson`.
@@ -212,15 +212,21 @@ on the fly:
212
212
213
213
` ` ` json
214
214
{
215
- "auths": {
216
- "https://index.docker.io/v1/": {
217
- "username": "tiger",
218
- "password": "pass113",
219
-
220
- "auth": "dGlnZXI6cGFzczExMw=="
221
- }
222
- }
215
+ "apiVersion": "v1",
216
+ "data": {
217
+ ".dockerconfigjson": "eyJhdXRocyI6eyJteS1yZWdpc3RyeTo1MDAwIjp7InVzZXJuYW1lIjoidGlnZXIiLCJwYXNzd29yZCI6InBhc3MxMTMiLCJlbWFpbCI6InRpZ2VyQGFjbWUuY29tIiwiYXV0aCI6ImRHbG5aWEk2Y0dGemN6RXhNdz09In19fQ=="
218
+ },
219
+ "kind": "Secret",
220
+ "metadata": {
221
+ "creationTimestamp": "2021-07-01T07:30:59Z",
222
+ "name": "secret-tiger-docker",
223
+ "namespace": "default",
224
+ "resourceVersion": "566718",
225
+ "uid": "e15c1d7b-9071-4100-8681-f3a7a2ce89ca"
226
+ },
227
+ "type": "kubernetes.io/dockerconfigjson"
223
228
}
229
+
224
230
` ` `
225
231
226
232
# ## Basic authentication Secret
You can’t perform that action at this time.
0 commit comments