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