...

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

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

     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    new-data: new-value
    12    new-data2: new-value
    13    new-data3: newivalue
    14  kind: ConfigMap
    15  metadata:
    16    creationTimestamp: "2017-02-03T06:12:07Z"
    17    name: cm1
    18    namespace: edit-test
    19    resourceVersion: "1414"
    20    selfLink: /api/v1/namespaces/edit-test/configmaps/cm1
    21    uid: b09bffab-e9d7-11e6-8c3b-acbc32c1ca87
    22- apiVersion: v1
    23  kind: Service
    24  metadata:
    25    creationTimestamp: "2017-02-03T06:11:32Z"
    26    labels:
    27      app: svc1
    28      new-label: foo
    29      new-label2: foo2
    30    name: svc1
    31    namespace: edit-test
    32    resourceVersion: "1064"
    33    selfLink: /api/v1/namespaces/edit-test/services/svc1
    34    uid: 9bec82be-e9d7-11e6-8c3b-acbc32c1ca87
    35  spec:
    36    clusterIP: 10.0.0.248
    37    ports:
    38    - name: "80"
    39      port: 82
    40      protocol: TCP
    41      targetPort: 81
    42    sessionAffinity: None
    43    type: ClusterIP
    44  status:
    45    loadBalancer: {}
    46kind: List
    47metadata: {}

View as plain text