...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-apply-edit-last-applied-syntax-error/2.edited

Documentation: k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-apply-edit-last-applied-syntax-error

     1# Please edit the 'last-applied-configuration' annotations below.
     2# Lines beginning with a '#' will be ignored, and an empty file will abort the edit.
     3#
     4# The edited file had a syntax error: error converting YAML to JSON: yaml: line 13: could not find expected ':'
     5#
     6kind: Service
     7metadata:
     8  annotations: {}
     9  labels:
    10    app: svc1
    11    new-label: foo
    12    new-label1: foo1
    13  name: svc1
    14  namespace: myproject
    15spec:
    16  ports:
    17  - name: "80"
    18    port: 81
    19    protocol: TCP
    20    targetPort: 81
    21  sessionAffinity: None
    22  type: ClusterIP
    23status:
    24  loadBalancer: {}

View as plain text