...

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

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

     1# Please edit the 'last-applied-configuration' annotations below.
     2# Lines beginning with a '#' will be ignored, and an empty file will abort the edit.
     3#
     4apiVersion: v1
     5items:
     6- apiVersion: v1
     7  data:
     8    baz: qux
     9    foo: changed-value
    10    new-data: new-value
    11    new-data2: new-value
    12    new-data3: newivalue
    13  kind: ConfigMap
    14  metadata:
    15    annotations: {}
    16    name: cm1
    17    namespace: myproject
    18- kind: Service
    19  apiVersion: v1
    20  metadata:
    21    annotations: {}
    22    labels:
    23      app: svc1
    24      new-label: foo
    25      new-label2: foo2
    26    name: svc1
    27    namespace: myproject
    28  spec:
    29    ports:
    30    - name: "80"
    31      port: 82
    32      protocol: TCP
    33      targetPort: 81
    34    sessionAffinity: None
    35    type: ClusterIP
    36  status:
    37    loadBalancer: {}
    38kind: List
    39metadata: {}

View as plain text