kubernetes/pkg/kubectl/cmd/edit/testdata/testcase-apply-edit-last-applied-syntax-error/2.edited
2019-01-03 12:21:31 -05:00

25 lines
558 B
Plaintext

# Please edit the 'last-applied-configuration' annotations below.
# Lines beginning with a '#' will be ignored, and an empty file will abort the edit.
#
# The edited file had a syntax error: error converting YAML to JSON: yaml: line 13: could not find expected ':'
#
kind: Service
metadata:
annotations: {}
labels:
app: svc1
new-label: foo
new-label1: foo1
name: svc1
namespace: myproject
spec:
ports:
- name: "80"
port: 81
protocol: TCP
targetPort: 81
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}