github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-render/format-on-success/.expected/diff.patch (about) 1 diff --git a/Kptfile b/Kptfile 2 index b64764a..b598023 100644 3 --- a/Kptfile 4 +++ b/Kptfile 5 @@ -2,6 +2,7 @@ apiVersion: kpt.dev/v1 6 kind: Kptfile 7 metadata: 8 name: app-with-db 9 + namespace: staging 10 pipeline: 11 mutators: 12 - image: gcr.io/kpt-fn/set-namespace:v0.1.3 13 diff --git a/db/Kptfile b/db/Kptfile 14 index 51ef7cb..ccbcb3f 100644 15 --- a/db/Kptfile 16 +++ b/db/Kptfile 17 @@ -2,6 +2,7 @@ apiVersion: kpt.dev/v1 18 kind: Kptfile 19 metadata: 20 name: db 21 + namespace: staging 22 pipeline: 23 mutators: 24 - image: gcr.io/kpt-fn/set-namespace:v0.1.3 25 diff --git a/db/resources.yaml b/db/resources.yaml 26 index ac1fd96..64ec0ee 100644 27 --- a/db/resources.yaml 28 +++ b/db/resources.yaml 29 @@ -15,5 +15,6 @@ apiVersion: apps/v1 30 kind: StatefulSet 31 metadata: 32 name: db 33 + namespace: staging 34 spec: 35 replicas: 3 36 diff --git a/resources.yaml b/resources.yaml 37 index 317f422..cb937aa 100644 38 --- a/resources.yaml 39 +++ b/resources.yaml 40 @@ -15,6 +15,7 @@ apiVersion: apps/v1 41 kind: Deployment 42 metadata: 43 name: nginx-deployment 44 + namespace: staging 45 spec: 46 replicas: 3 47 selector: