github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-render/selectors/selectors-with-exclude/.expected/diff.patch (about) 1 diff --git a/Kptfile b/Kptfile 2 index a47bd49..a402119 100644 3 --- a/Kptfile 4 +++ b/Kptfile 5 @@ -2,6 +2,8 @@ apiVersion: kpt.dev/v1 6 kind: Kptfile 7 metadata: 8 name: app 9 + labels: 10 + tier: backend 11 pipeline: 12 mutators: 13 - image: gcr.io/kpt-fn/set-namespace:v0.1.3 14 diff --git a/resources.yaml b/resources.yaml 15 index e7eda6a..f50b306 100644 16 --- a/resources.yaml 17 +++ b/resources.yaml 18 @@ -17,8 +17,17 @@ metadata: 19 name: nginx-deployment 20 labels: 21 foo: bar 22 + tier: backend 23 + namespace: staging 24 spec: 25 replicas: 3 26 + selector: 27 + matchLabels: 28 + tier: backend 29 + template: 30 + metadata: 31 + labels: 32 + tier: backend 33 --- 34 apiVersion: custom.io/v1 35 kind: Custom 36 @@ -26,5 +35,6 @@ metadata: 37 name: custom 38 labels: 39 foo: bar 40 + tier: backend 41 spec: 42 image: nginx:1.2.3