github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-render/out-of-place-fnchain-stdout-results/.expected/config.yaml (about) 1 stdOut: | 2 apiVersion: config.kubernetes.io/v1 3 kind: ResourceList 4 items: 5 - apiVersion: kpt.dev/v1 6 kind: Kptfile 7 metadata: 8 name: app 9 annotations: 10 config.kubernetes.io/index: "0" 11 config.kubernetes.io/path: Kptfile 12 internal.config.kubernetes.io/index: "0" 13 internal.config.kubernetes.io/path: Kptfile 14 internal.config.kubernetes.io/seqindent: wide 15 foo: bar 16 namespace: staging 17 labels: 18 tier: backend 19 pipeline: 20 mutators: 21 - image: gcr.io/kpt-fn/set-namespace:v0.1.3 22 configMap: 23 namespace: staging 24 # Copyright 2021 Google LLC 25 # 26 # Licensed under the Apache License, Version 2.0 (the "License"); 27 # you may not use this file except in compliance with the License. 28 # You may obtain a copy of the License at 29 # 30 # http://www.apache.org/licenses/LICENSE-2.0 31 # 32 # Unless required by applicable law or agreed to in writing, software 33 # distributed under the License is distributed on an "AS IS" BASIS, 34 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 35 # See the License for the specific language governing permissions and 36 # limitations under the License. 37 - apiVersion: apps/v1 38 kind: Deployment 39 metadata: 40 name: nginx-deployment 41 annotations: 42 config.kubernetes.io/index: "0" 43 config.kubernetes.io/path: resources.yaml 44 internal.config.kubernetes.io/index: "0" 45 internal.config.kubernetes.io/path: resources.yaml 46 internal.config.kubernetes.io/seqindent: compact 47 foo: bar 48 namespace: staging 49 labels: 50 tier: backend 51 spec: 52 replicas: 3 53 template: 54 metadata: 55 annotations: 56 foo: bar 57 labels: 58 tier: backend 59 selector: 60 matchLabels: 61 tier: backend 62 - apiVersion: custom.io/v1 63 kind: Custom 64 metadata: 65 name: custom 66 annotations: 67 config.kubernetes.io/index: "1" 68 config.kubernetes.io/path: resources.yaml 69 internal.config.kubernetes.io/index: "1" 70 internal.config.kubernetes.io/path: resources.yaml 71 internal.config.kubernetes.io/seqindent: compact 72 foo: bar 73 namespace: staging 74 labels: 75 tier: backend 76 spec: 77 image: nginx:1.2.3 78 stdErr: | 79 [RUNNING] "gcr.io/kpt-fn/set-namespace:v0.1.3" 80 [PASS] "gcr.io/kpt-fn/set-namespace:v0.1.3" in 0s 81 82 For complete results, see