github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-render/short-image-path/.expected/diff.patch (about)

     1  diff --git a/Kptfile b/Kptfile
     2  index 6fd44e6..c401c91 100644
     3  --- a/Kptfile
     4  +++ b/Kptfile
     5  @@ -2,6 +2,9 @@ apiVersion: kpt.dev/v1
     6   kind: Kptfile
     7   metadata:
     8     name: app
     9  +  namespace: staging
    10  +  labels:
    11  +    tier: backend
    12   pipeline:
    13     mutators:
    14       - image: set-namespace:v0.1.3
    15  diff --git a/resources.yaml b/resources.yaml
    16  index 7a494c9..a9dd224 100644
    17  --- a/resources.yaml
    18  +++ b/resources.yaml
    19  @@ -15,12 +15,25 @@ apiVersion: apps/v1
    20   kind: Deployment
    21   metadata:
    22     name: nginx-deployment
    23  +  namespace: staging
    24  +  labels:
    25  +    tier: backend
    26   spec:
    27     replicas: 3
    28  +  selector:
    29  +    matchLabels:
    30  +      tier: backend
    31  +  template:
    32  +    metadata:
    33  +      labels:
    34  +        tier: backend
    35   ---
    36   apiVersion: custom.io/v1
    37   kind: Custom
    38   metadata:
    39     name: custom
    40  +  namespace: staging
    41  +  labels:
    42  +    tier: backend
    43   spec:
    44     image: nginx:1.2.3