...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-list-errors/8.original

Documentation: k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-list-errors

     1# Please edit the object below. Lines beginning with a '#' will be ignored,
     2# and an empty file will abort the edit. If an error occurs while saving this file will be
     3# reopened with the relevant failures.
     4#
     5# services "svc1" was not valid:
     6# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP, SCTP
     7#
     8apiVersion: v1
     9items:
    10- apiVersion: v1
    11  kind: Service
    12  metadata:
    13    creationTimestamp: "2017-02-03T06:11:32Z"
    14    labels:
    15      app: svc1
    16      newvalue: modified
    17    name: svc1
    18    namespace: edit-test
    19    resourceVersion: "1904"
    20    selfLink: /api/v1/namespaces/edit-test/services/svc1
    21    uid: 9bec82be-e9d7-11e6-8c3b-acbc32c1ca87
    22  spec:
    23    clusterIP: 10.0.0.248
    24    ports:
    25    - name: "80"
    26      port: 83
    27      protocol: VHF
    28      targetPort: 81
    29    sessionAffinity: None
    30    type: ClusterIP
    31  status:
    32    loadBalancer: {}
    33- apiVersion: v1
    34  data:
    35    baz: qux
    36    foo: changed-value2
    37  kind: ConfigMap
    38  metadata:
    39    creationTimestamp: "2017-02-03T06:12:07Z"
    40    name: cm1
    41    namespace: edit-test
    42    resourceVersion: "1903"
    43    selfLink: /api/v1/namespaces/edit-test/configmaps/cm1
    44    uid: b09bffab-e9d7-11e6-8c3b-acbc32c1ca87
    45kind: List
    46metadata: {}

View as plain text