github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-render/exec-function-with-args/.expected/diff.patch (about)

     1  diff --git a/Kptfile b/Kptfile
     2  index 0d98dbb..23bd061 100644
     3  --- a/Kptfile
     4  +++ b/Kptfile
     5  @@ -4,4 +4,4 @@ metadata:
     6     name: app
     7   pipeline:
     8     mutators:
     9  -    - exec: "sed -e 's/foo/bar/'"
    10  +    - exec: "sed -e 's/bar/bar/'"
    11  diff --git a/resources.yaml b/resources.yaml
    12  index e8ae6bb..297b99f 100644
    13  --- a/resources.yaml
    14  +++ b/resources.yaml
    15  @@ -15,7 +15,7 @@ apiVersion: apps/v1
    16   kind: Deployment
    17   metadata:
    18     name: nginx-deployment
    19  -  namespace: foo
    20  +  namespace: bar
    21   spec:
    22     replicas: 3
    23   ---
    24  @@ -23,6 +23,6 @@ apiVersion: custom.io/v1
    25   kind: Custom
    26   metadata:
    27     name: custom
    28  -  namespace: foo
    29  +  namespace: bar
    30   spec:
    31     image: nginx:1.2.3