github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-render/fnconfig-updated-in-render/update-labels.yaml (about)

     1  apiVersion: fn.kpt.dev/v1alpha1
     2  kind: ApplyReplacements
     3  metadata: # kpt-merge: /update-labels
     4    name: update-labels
     5    annotations:
     6      config.kubernetes.io/local-config: "true"
     7    labels:
     8      app.kubernetes.io/app: example
     9  replacements:
    10  - source:
    11      kind: ConfigMap
    12      name: kptfile.kpt.dev
    13      fieldPath: data.name
    14    targets:
    15    - select:
    16        kind: ConfigMap
    17        name: label-input
    18      fieldPaths:
    19      - data.[app.kubernetes.io/app]