github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/porch/rpkg-push/config.yaml (about) 1 commands: 2 - args: 3 - alpha 4 - repo 5 - register 6 - --namespace=rpkg-push 7 - --name=git 8 - http://git-server.test-git-namespace.svc.cluster.local:8080/rpkg-push 9 - args: 10 - alpha 11 - rpkg 12 - init 13 - --namespace=rpkg-push 14 - --repository=git 15 - --revision=v0 16 - test-package 17 stdout: "git-951628068ed2aee1a62fc568131134c6ec95d0be created\n" 18 - args: 19 - alpha 20 - rpkg 21 - pull 22 - --namespace=rpkg-push 23 - git-951628068ed2aee1a62fc568131134c6ec95d0be 24 stdout: | 25 apiVersion: config.kubernetes.io/v1 26 items: 27 - apiVersion: kpt.dev/v1 28 info: 29 description: sample description 30 kind: Kptfile 31 metadata: 32 annotations: 33 config.kubernetes.io/index: "0" 34 config.kubernetes.io/local-config: "true" 35 config.kubernetes.io/path: Kptfile 36 internal.config.kubernetes.io/index: "0" 37 internal.config.kubernetes.io/path: Kptfile 38 name: test-package 39 - apiVersion: v1 40 data: 41 name: example 42 kind: ConfigMap 43 metadata: 44 annotations: 45 config.kubernetes.io/index: "0" 46 config.kubernetes.io/local-config: "true" 47 config.kubernetes.io/path: package-context.yaml 48 internal.config.kubernetes.io/index: "0" 49 internal.config.kubernetes.io/path: package-context.yaml 50 name: kptfile.kpt.dev 51 kind: ResourceList 52 yaml: true 53 - args: 54 - alpha 55 - rpkg 56 - push 57 - --namespace=rpkg-push 58 - git-951628068ed2aee1a62fc568131134c6ec95d0be 59 stdin: | 60 apiVersion: config.kubernetes.io/v1 61 kind: ResourceList 62 items: 63 - apiVersion: kpt.dev/v1 64 kind: Kptfile 65 metadata: 66 name: test-package 67 annotations: 68 config.kubernetes.io/index: '0' 69 config.kubernetes.io/local-config: "true" 70 config.kubernetes.io/path: Kptfile 71 internal.config.kubernetes.io/index: '0' 72 internal.config.kubernetes.io/path: 'Kptfile' 73 info: 74 site: http://kpt.dev/test-package 75 description: Updated Test Package Description 76 - apiVersion: v1 77 kind: ConfigMap 78 metadata: 79 name: new-config-map 80 annotations: 81 internal.config.kubernetes.io/path: 'config-map.yaml' 82 config.kubernetes.io/path: 'config-map.yaml' 83 data: 84 key: value 85 - apiVersion: v1 86 data: 87 name: example 88 kind: ConfigMap 89 metadata: 90 annotations: 91 config.kubernetes.io/index: "0" 92 config.kubernetes.io/local-config: "true" 93 config.kubernetes.io/path: package-context.yaml 94 internal.config.kubernetes.io/index: "0" 95 internal.config.kubernetes.io/path: package-context.yaml 96 name: kptfile.kpt.dev 97 - args: 98 - alpha 99 - rpkg 100 - pull 101 - --namespace=rpkg-push 102 - git-951628068ed2aee1a62fc568131134c6ec95d0be 103 stdout: | 104 apiVersion: config.kubernetes.io/v1 105 items: 106 - apiVersion: kpt.dev/v1 107 info: 108 description: Updated Test Package Description 109 site: http://kpt.dev/test-package 110 kind: Kptfile 111 metadata: 112 annotations: 113 config.kubernetes.io/index: "0" 114 config.kubernetes.io/local-config: "true" 115 config.kubernetes.io/path: Kptfile 116 internal.config.kubernetes.io/index: "0" 117 internal.config.kubernetes.io/path: Kptfile 118 name: test-package 119 - apiVersion: v1 120 data: 121 key: value 122 kind: ConfigMap 123 metadata: 124 annotations: 125 config.kubernetes.io/index: "0" 126 config.kubernetes.io/path: config-map.yaml 127 internal.config.kubernetes.io/index: "0" 128 internal.config.kubernetes.io/path: config-map.yaml 129 name: new-config-map 130 - apiVersion: v1 131 data: 132 name: example 133 kind: ConfigMap 134 metadata: 135 annotations: 136 config.kubernetes.io/index: "0" 137 config.kubernetes.io/local-config: "true" 138 config.kubernetes.io/path: package-context.yaml 139 internal.config.kubernetes.io/index: "0" 140 internal.config.kubernetes.io/path: package-context.yaml 141 name: kptfile.kpt.dev 142 kind: ResourceList 143 yaml: true