github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-eval/save-fn/image/.expected/diff.patch (about) 1 diff --git a/Kptfile b/Kptfile 2 index d9e2f05..bc65066 100644 3 --- a/Kptfile 4 +++ b/Kptfile 5 @@ -2,3 +2,9 @@ apiVersion: kpt.dev/v1 6 kind: Kptfile 7 metadata: 8 name: app 9 + namespace: staging 10 +pipeline: 11 + mutators: 12 + - image: gcr.io/kpt-fn/set-namespace:v0.1.3 13 + configMap: 14 + namespace: staging 15 diff --git a/resources.yaml b/resources.yaml 16 index ac634f3..0e09da8 100644 17 --- a/resources.yaml 18 +++ b/resources.yaml 19 @@ -15,6 +15,7 @@ apiVersion: apps/v1 20 kind: Deployment 21 metadata: 22 name: nginx-deployment 23 + namespace: staging 24 spec: 25 replicas: 3 26 --- 27 @@ -22,5 +23,6 @@ apiVersion: custom.io/v1 28 kind: Custom 29 metadata: 30 name: custom 31 + namespace: staging 32 spec: 33 image: nginx:1.2.3