github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-eval/output-to-stdout/.expected/config.yaml (about)

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