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