github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-render/basicpipeline-out-of-place/.expected/diff.patch (about) 1 diff --git a/out/Kptfile b/out/Kptfile 2 new file mode 100644 3 index 0000000..c237afd 4 --- /dev/null 5 +++ b/out/Kptfile 6 @@ -0,0 +1,15 @@ 7 +apiVersion: kpt.dev/v1 8 +kind: Kptfile 9 +metadata: 10 + name: app 11 + namespace: staging 12 + labels: 13 + tier: backend 14 +pipeline: 15 + mutators: 16 + - image: gcr.io/kpt-fn/set-namespace:v0.1.3 17 + configMap: 18 + namespace: staging 19 + - image: gcr.io/kpt-fn/set-labels:v0.1.4 20 + configMap: 21 + tier: backend 22 diff --git a/out/resources.yaml b/out/resources.yaml 23 new file mode 100644 24 index 0000000..a9dd224 25 --- /dev/null 26 +++ b/out/resources.yaml 27 @@ -0,0 +1,39 @@ 28 +# Copyright 2021 Google LLC 29 +# 30 +# Licensed under the Apache License, Version 2.0 (the "License"); 31 +# you may not use this file except in compliance with the License. 32 +# You may obtain a copy of the License at 33 +# 34 +# http://www.apache.org/licenses/LICENSE-2.0 35 +# 36 +# Unless required by applicable law or agreed to in writing, software 37 +# distributed under the License is distributed on an "AS IS" BASIS, 38 +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 39 +# See the License for the specific language governing permissions and 40 +# limitations under the License. 41 +apiVersion: apps/v1 42 +kind: Deployment 43 +metadata: 44 + name: nginx-deployment 45 + namespace: staging 46 + labels: 47 + tier: backend 48 +spec: 49 + replicas: 3 50 + selector: 51 + matchLabels: 52 + tier: backend 53 + template: 54 + metadata: 55 + labels: 56 + tier: backend 57 +--- 58 +apiVersion: custom.io/v1 59 +kind: Custom 60 +metadata: 61 + name: custom 62 + namespace: staging 63 + labels: 64 + tier: backend 65 +spec: 66 + image: nginx:1.2.3