mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 22:01:06 +00:00 
			
		
		
		
	Add 'kubectl edit' testcase for saving a repeated error Add 'kubectl edit' testcase for preserving an edited file with a syntax error Add 'kubectl edit' testcase for recording command on list of objects
		
			
				
	
	
		
			28 lines
		
	
	
		
			691 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			691 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| # Please edit the object below. Lines beginning with a '#' will be ignored,
 | |
| # and an empty file will abort the edit. If an error occurs while saving this file will be
 | |
| # reopened with the relevant failures.
 | |
| #
 | |
| apiVersion: v1
 | |
| kind: Service
 | |
| metadata:
 | |
|   creationTimestamp: 2017-02-12T20:11:19Z
 | |
|   labels:
 | |
|     component: apiserver
 | |
|     provider: kubernetes
 | |
|   name: kubernetes
 | |
|   namespace: default
 | |
|   resourceVersion: "8"
 | |
|   selfLink: /api/v1/namespaces/default/services/kubernetes
 | |
|   uid: 6a8e8829-f15f-11e6-b041-acbc32c1ca87
 | |
| spec
 | |
|   clusterIP: 10.0.0.1
 | |
|   ports:
 | |
|     name: https
 | |
|     port: 443
 | |
|     protocol: TCP
 | |
|     targetPort: 443
 | |
|   sessionAffinity: ClientIP
 | |
|   type: ClusterIP
 | |
| status:
 | |
|   loadBalancer: {
 |