github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/fn-render/basicpipeline-v1alpha1/Kptfile (about) 1 apiVersion: kpt.dev/v1alpha1 2 kind: Kptfile 3 metadata: 4 name: nginx 5 dependencies: 6 - name: hello-world 7 updateStrategy: fast-forward 8 stdin: 9 filenamePattern: foo* 10 original: bar 11 autoSet: false 12 ensureNotExists: false 13 functions: 14 - image: gcr.io/kpt-fn/my-func:v0.1 15 config: 16 apiVersion: v1 17 kind: ConfigMap 18 metadata: 19 name: function-config 20 data: 21 param1: value1 22 git: 23 directory: /package-examples/helloworld-set 24 ref: master 25 repo: https://github.com/GoogleContainerTools/kpt 26 functions: 27 autoRunStarlark: true 28 starlarkFunctions: 29 - name: foo-star 30 path: path/to/foo-star.yaml 31 inventory: 32 name: inventory-00933591 33 namespace: some-space 34 labels: 35 foo: bar 36 annotations: 37 abc: def 38 inventoryID: 92c234b7e9267815b0c3e17c9e4d7139a16c104f-1620493522822890000 39 openAPI: 40 definitions: 41 io.k8s.cli.setters.image: 42 x-k8s-cli: 43 setter: 44 name: image 45 value: nginx 46 io.k8s.cli.setters.list: 47 type: array 48 x-k8s-cli: 49 setter: 50 name: list 51 value: "" 52 listValues: 53 - dev 54 - stage 55 io.k8s.cli.setters.namespace: 56 type: string 57 maxLength: 10 58 x-k8s-cli: 59 setter: 60 name: namespace 61 value: some-space 62 io.k8s.cli.setters.tag: 63 x-k8s-cli: 64 setter: 65 name: tag 66 value: 1.14.1 67 io.k8s.cli.substitutions.fullimage: 68 x-k8s-cli: 69 substitution: 70 name: fullimage 71 pattern: ${image}:${tag} 72 values: 73 - marker: ${image} 74 ref: '#/definitions/io.k8s.cli.setters.image' 75 - marker: ${tag} 76 ref: '#/definitions/io.k8s.cli.setters.tag' 77 io.k8s.cli.substitutions.imageidentifier: 78 x-k8s-cli: 79 substitution: 80 name: imageidentifier 81 pattern: deployment-${fullimage} 82 values: 83 - marker: ${fullimage} 84 ref: '#/definitions/io.k8s.cli.substitutions.fullimage' 85 packageMetadata: 86 email: foo@gmail.com 87 license: license text 88 man: nginx man text 89 shortDescription: describe this package 90 tags: 91 - tag1 92 - tag2 93 url: https://github.com/GoogleContainerTools/kpt 94 version: v0.1 95 upstream: 96 type: git 97 git: 98 commit: 4d2aa98b45ddee4b5fa45fbca16f2ff887de9efb 99 directory: package-examples/nginx 100 ref: v0.2 101 repo: https://github.com/GoogleContainerTools/kpt