github.com/crossplane/upjet@v1.3.0/pkg/migration/testdata/plan/generated/configurationv1_migration_plan.yaml (about)

     1  # SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
     2  #
     3  # SPDX-License-Identifier: Apache-2.0
     4  
     5  spec:
     6    steps:
     7      - exec:
     8          command: sh
     9          args:
    10            - "-c"
    11            - "kubectl get managed -o yaml > backup/managed-resources.yaml"
    12        name: backup-managed-resources
    13        manualExecution:
    14          - sh -c "kubectl get managed -o yaml > backup/managed-resources.yaml"
    15        type: Exec
    16  
    17      - exec:
    18          command: sh
    19          args:
    20            - "-c"
    21            - "kubectl get composite -o yaml > backup/composite-resources.yaml"
    22        name: backup-composite-resources
    23        manualExecution:
    24          - sh -c "kubectl get composite -o yaml > backup/composite-resources.yaml"
    25        type: Exec
    26  
    27      - exec:
    28          command: sh
    29          args:
    30            - "-c"
    31            - "kubectl get claim --all-namespaces -o yaml > backup/claim-resources.yaml"
    32        name: backup-claim-resources
    33        manualExecution:
    34          - sh -c "kubectl get claim --all-namespaces -o yaml > backup/claim-resources.yaml"
    35        type: Exec
    36  
    37      - exec:
    38          command: sh
    39          args:
    40            - "-c"
    41            - "cp edit-configuration-metadata/platform-ref-aws.configurations.meta.pkg.crossplane.io_v1.yaml testdata/plan/configurationv1.yaml"
    42        name: edit-configuration-metadata
    43        manualExecution:
    44          - sh -c "cp edit-configuration-metadata/platform-ref-aws.configurations.meta.pkg.crossplane.io_v1.yaml testdata/plan/configurationv1.yaml"
    45        type: Exec
    46  
    47      - exec:
    48          command: sh
    49          args:
    50            - "-c"
    51            - "up xpkg build --package-root={{PKG_ROOT}} --examples-root={{EXAMPLES_ROOT}} -o {{PKG_PATH}}"
    52        name: build-configuration
    53        manualExecution:
    54          - sh -c "up xpkg build --package-root={{PKG_ROOT}} --examples-root={{EXAMPLES_ROOT}} -o {{PKG_PATH}}"
    55        type: Exec
    56  
    57      - exec:
    58          command: sh
    59          args:
    60            - "-c"
    61            - "up xpkg push {{TARGET_CONFIGURATION_PACKAGE}} -f {{PKG_PATH}}"
    62        name: push-configuration
    63        manualExecution:
    64          - sh -c "up xpkg push {{TARGET_CONFIGURATION_PACKAGE}} -f {{PKG_PATH}}"
    65        type: Exec
    66  
    67  version: 0.1.0