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

     1  diff --git a/Kptfile b/Kptfile
     2  index 08afd4c..9a0803a 100644
     3  --- a/Kptfile
     4  +++ b/Kptfile
     5  @@ -4,3 +4,9 @@ kind: Kptfile # comment 1
     6   metadata:
     7     # comment 2
     8     name: app # comment 3
     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