github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-render/no-pipeline-in-subpackage/.expected/diff.patch (about) 1 diff --git a/Kptfile b/Kptfile 2 index 8e84241..c237afd 100644 3 --- a/Kptfile 4 +++ b/Kptfile 5 @@ -2,6 +2,9 @@ apiVersion: kpt.dev/v1 6 kind: Kptfile 7 metadata: 8 name: app 9 + namespace: staging 10 + labels: 11 + tier: backend 12 pipeline: 13 mutators: 14 - image: gcr.io/kpt-fn/set-namespace:v0.1.3 15 diff --git a/db/Kptfile b/db/Kptfile 16 index 79b7a5a..15f086b 100644 17 --- a/db/Kptfile 18 +++ b/db/Kptfile 19 @@ -2,3 +2,6 @@ apiVersion: kpt.dev/v1 20 kind: Kptfile 21 metadata: 22 name: db 23 + namespace: staging 24 + labels: 25 + tier: backend 26 diff --git a/db/resources.yaml b/db/resources.yaml 27 index 7a494c9..a9dd224 100644 28 --- a/db/resources.yaml 29 +++ b/db/resources.yaml 30 @@ -15,12 +15,25 @@ apiVersion: apps/v1 31 kind: Deployment 32 metadata: 33 name: nginx-deployment 34 + namespace: staging 35 + labels: 36 + tier: backend 37 spec: 38 replicas: 3 39 + selector: 40 + matchLabels: 41 + tier: backend 42 + template: 43 + metadata: 44 + labels: 45 + tier: backend 46 --- 47 apiVersion: custom.io/v1 48 kind: Custom 49 metadata: 50 name: custom 51 + namespace: staging 52 + labels: 53 + tier: backend 54 spec: 55 image: nginx:1.2.3