...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-list-errors/5.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.clusterIP: Invalid value: "10.0.0.10": field is immutable
     7# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP, SCTP
     8#
     9apiVersion: v1
    10items:
    11- apiVersion: v1
    12  kind: Service
    13  metadata:
    14    creationTimestamp: "2017-02-03T06:11:32Z"
    15    labels:
    16      app: svc1
    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.10
    24    ports:
    25    - name: "80"
    26      port: 82
    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