github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/live/testdata/stdin-test/pods.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  apiVersion: kpt.dev/v1
    16  kind: Kptfile
    17  metadata:
    18    name: test1
    19  upstream:
    20    type: git
    21    git:
    22      repo: git@github.com:yuwenma/blueprint-helloworld
    23      directory: /
    24      ref: master
    25  inventory:
    26    namespace: stdin-test-namespace
    27    name: inventory-18030002
    28    inventoryID: 4a1bc0b4df68e583e23a7351a0a4d149edc0fa61-1627067858058570061
    29  ---
    30  apiVersion: v1
    31  kind: Pod
    32  metadata:
    33    name: pod-b
    34    namespace: stdin-test-namespace
    35    labels:
    36      name: test-pod-label
    37  spec:
    38    containers:
    39    - name: kubernetes-pause
    40      image: k8s.gcr.io/pause:2.0
    41  ---
    42  apiVersion: v1
    43  kind: Namespace
    44  metadata:
    45    name: stdin-test-namespace
    46  ---
    47  apiVersion: v1
    48  kind: Pod
    49  metadata:
    50    name: pod-c
    51    namespace: stdin-test-namespace
    52    labels:
    53      name: test-pod-label
    54  spec:
    55    containers:
    56    - name: kubernetes-pause
    57      image: k8s.gcr.io/pause:2.0
    58  ---
    59  apiVersion: v1
    60  kind: Pod
    61  metadata:
    62    name: pod-a
    63    namespace: stdin-test-namespace
    64    labels:
    65      name: test-pod-label
    66  spec:
    67    containers:
    68    - name: kubernetes-pause
    69      image: k8s.gcr.io/pause:2.0