Fix a command error in configure-service-account.md file. (#10289)
This commit is contained in:
		
							parent
							
								
									352217b7c7
								
							
						
					
					
						commit
						77db7a1152
					
				| 
						 | 
				
			
			@ -193,7 +193,7 @@ myregistrykey    kubernetes.io/.dockerconfigjson   1       1d
 | 
			
		|||
Next, modify the default service account for the namespace to use this secret as an imagePullSecret.
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
kubectl patch serviceaccount default -p '{\"imagePullSecrets\": [{\"name\": \"myregistrykey\"}]}'
 | 
			
		||||
kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "myregistrykey"}]}'
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Interactive version requiring manual edit:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue