...

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

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

View as plain text