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