github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-eval/save-fn/match-selector/.expected/diff.patch (about)

     1  diff --git a/Kptfile b/Kptfile
     2  index d9e2f05..eb232bb 100644
     3  --- a/Kptfile
     4  +++ b/Kptfile
     5  @@ -2,3 +2,10 @@ apiVersion: kpt.dev/v1
     6   kind: Kptfile
     7   metadata:
     8     name: app
     9  +pipeline:
    10  +  mutators:
    11  +    - image: gcr.io/kpt-fn/set-namespace:v0.1.3
    12  +      configMap:
    13  +        namespace: staging
    14  +      selectors:
    15  +        - kind: Deployment
    16  diff --git a/resources.yaml b/resources.yaml
    17  index 7a494c9..9d82bd6 100644
    18  --- a/resources.yaml
    19  +++ b/resources.yaml
    20  @@ -15,6 +15,7 @@ apiVersion: apps/v1
    21   kind: Deployment
    22   metadata:
    23     name: nginx-deployment
    24  +  namespace: staging
    25   spec:
    26     replicas: 3
    27   ---