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