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