github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/live-apply/prune-depends-on/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  parallel: true
    16  
    17  kptArgs:
    18    - "live"
    19    - "apply"
    20    - "--reconcile-timeout=1m"
    21  
    22  stdOut: |
    23    inventory update started
    24    inventory update finished
    25    apply phase started
    26    configmap/cm apply successful
    27    apply phase finished
    28    reconcile phase started
    29    configmap/cm reconcile successful
    30    reconcile phase finished
    31    prune phase started
    32    deployment.apps/second-nginx prune successful
    33    prune phase finished
    34    reconcile phase started
    35    deployment.apps/second-nginx reconcile successful
    36    reconcile phase finished
    37    prune phase started
    38    deployment.apps/first-nginx prune successful
    39    prune phase finished
    40    reconcile phase started
    41    deployment.apps/first-nginx reconcile successful
    42    reconcile phase finished
    43    inventory update started
    44    inventory update finished
    45    apply result: 1 attempted, 1 successful, 0 skipped, 0 failed
    46    prune result: 2 attempted, 2 successful, 0 skipped, 0 failed
    47    reconcile result: 3 attempted, 3 successful, 0 skipped, 0 failed, 0 timed out
    48  
    49  
    50  optionalStdOut:
    51    - configmap/cm reconcile pending
    52    - deployment.apps/second-nginx reconcile pending
    53    - deployment.apps/first-nginx reconcile pending
    54  
    55  inventory:
    56    - kind: ConfigMap
    57      name: cm
    58      namespace: prune-depends-on