github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/porch/rpkg-init/config.yaml (about)

     1  commands:
     2    - args:
     3        - alpha
     4        - repo
     5        - register
     6        - --namespace=rpkg-init
     7        - --name=git
     8        - http://git-server.test-git-namespace.svc.cluster.local:8080/rpkg-init
     9    - args:
    10        - alpha
    11        - repo
    12        - get
    13        - --namespace=rpkg-init
    14        - --output=custom-columns=NAME:.metadata.name,ADDRESS:.spec.git.repo,BRANCH:.spec.git.branch,DIR:.spec.git.directory
    15      stdout: |
    16        NAME   ADDRESS                                                                 BRANCH   DIR
    17        git    http://git-server.test-git-namespace.svc.cluster.local:8080/rpkg-init   main     /
    18    - args:
    19        - alpha
    20        - rpkg
    21        - init
    22        - --namespace=rpkg-init
    23        - --description
    24        - Test Package Description
    25        - --keywords=test,package
    26        - --site
    27        - http://kpt.dev/init-package
    28        - --repository=git
    29        - --revision=v0
    30        - init-package
    31      stdout: "git-e5041a7290c88ac4ac34182c8b3d658ab97d353d created\n"
    32    - args:
    33        - alpha
    34        - rpkg
    35        - pull
    36        - --namespace=rpkg-init
    37        - git-e5041a7290c88ac4ac34182c8b3d658ab97d353d
    38      stdout: |
    39        apiVersion: config.kubernetes.io/v1
    40        items:
    41        - apiVersion: kpt.dev/v1
    42          info:
    43            description: Test Package Description
    44            keywords:
    45            - test
    46            - package
    47            site: http://kpt.dev/init-package
    48          kind: Kptfile
    49          metadata:
    50            annotations:
    51              config.kubernetes.io/index: "0"
    52              config.kubernetes.io/local-config: "true"
    53              config.kubernetes.io/path: Kptfile
    54              internal.config.kubernetes.io/index: "0"
    55              internal.config.kubernetes.io/path: Kptfile
    56            name: init-package
    57        - apiVersion: v1
    58          data:
    59            name: example
    60          kind: ConfigMap
    61          metadata:
    62            annotations:
    63              config.kubernetes.io/index: "0"
    64              config.kubernetes.io/local-config: "true"
    65              config.kubernetes.io/path: package-context.yaml
    66              internal.config.kubernetes.io/index: "0"
    67              internal.config.kubernetes.io/path: package-context.yaml
    68            name: kptfile.kpt.dev
    69        kind: ResourceList
    70      yaml: true