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

     1  diff --git a/sub-pkg/Kptfile b/sub-pkg/Kptfile
     2  index d9e2f05..93c547b 100644
     3  --- a/sub-pkg/Kptfile
     4  +++ b/sub-pkg/Kptfile
     5  @@ -2,3 +2,8 @@ apiVersion: kpt.dev/v1
     6   kind: Kptfile
     7   metadata:
     8     name: app
     9  +  namespace: staging
    10  +pipeline:
    11  +  mutators:
    12  +    - image: gcr.io/kpt-fn/set-namespace:v0.1.3
    13  +      configPath: fn-config.yaml
    14  diff --git a/sub-pkg/fn-config.yaml b/sub-pkg/fn-config.yaml
    15  index 384a7ad..670db5a 100644
    16  --- a/sub-pkg/fn-config.yaml
    17  +++ b/sub-pkg/fn-config.yaml
    18  @@ -15,5 +15,6 @@ apiVersion: v1
    19   kind: ConfigMap
    20   metadata:
    21     name: fn-config
    22  +  namespace: staging
    23   data:
    24     namespace: staging
    25  diff --git a/sub-pkg/resources.yaml b/sub-pkg/resources.yaml
    26  index ac634f3..0e09da8 100644
    27  --- a/sub-pkg/resources.yaml
    28  +++ b/sub-pkg/resources.yaml
    29  @@ -15,6 +15,7 @@ apiVersion: apps/v1
    30   kind: Deployment
    31   metadata:
    32     name: nginx-deployment
    33  +  namespace: staging
    34   spec:
    35     replicas: 3
    36   ---
    37  @@ -22,5 +23,6 @@ apiVersion: custom.io/v1
    38   kind: Custom
    39   metadata:
    40     name: custom
    41  +  namespace: staging
    42   spec:
    43     image: nginx:1.2.3