Add edit command testcases
This commit is contained in:
22
pkg/kubectl/cmd/testdata/edit/testcase-create-list/2.edited
vendored
Executable file
22
pkg/kubectl/cmd/testdata/edit/testcase-create-list/2.edited
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
# 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:
|
||||
labels:
|
||||
app: svc2
|
||||
name: svc2
|
||||
namespace: edit-test
|
||||
spec:
|
||||
ports:
|
||||
- name: "80"
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 81
|
||||
selector:
|
||||
app: svc2
|
||||
new-label: new-value
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
Reference in New Issue
Block a user