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