...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-list-errors/2.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#
     5apiVersion: v1
     6items:
     7- apiVersion: v1
     8  data:
     9    baz: qux
    10    foo: changed-value
    11  kind: ConfigMap
    12  metadata:
    13    creationTimestamp: "2017-02-03T06:12:07Z"
    14    name: cm1
    15    namespace: edit-test
    16    resourceVersion: "1903"
    17    selfLink: /api/v1/namespaces/edit-test/configmaps/cm1
    18    uid: b09bffab-e9d7-11e6-8c3b-acbc32c1ca87
    19- apiVersion: v1
    20  kind: Service
    21  metadata:
    22    creationTimestamp: "2017-02-03T06:11:32Z"
    23    labels:
    24      app: svc1
    25    name: svc1
    26    namespace: edit-test
    27    resourceVersion: "1904"
    28    selfLink: /api/v1/namespaces/edit-test/services/svc1
    29    uid: 9bec82be-e9d7-11e6-8c3b-acbc32c1ca87
    30  spec:
    31    clusterIP: 10.0.0.248
    32    ports:
    33    - name: "80"
    34      port: 82
    35      protocol: TCP
    36      targetPort: 81
    37    sessionAffinity: None
    38    type: ClusterIP
    39  status:
    40    loadBalancer: {}
    41kind: List
    42metadata: {}

View as plain text