get.porter.sh/porter@v1.3.0/pkg/porter/testdata/porter.yaml (about) 1 schemaVersion: 1.0.0 2 name: porter-hello 3 version: 0.1.0 4 description: "A bundle with a custom action" 5 registry: "localhost:5000" 6 7 custom: 8 customKey1: "customValue1" 9 10 credentials: 11 - name: my-first-cred 12 env: MY_FIRST_CRED 13 - name: my-second-cred 14 description: "My second cred" 15 path: /path/to/my-second-cred 16 17 images: 18 something: 19 description: "an image" 20 imageType: "docker" 21 repository: "getporter/boo" 22 digest: "sha256:6b5a28ccbb76f12ce771a23757880c6083234255c5ba191fca1c5db1f71c1687" 23 24 parameters: 25 - name: my-first-param 26 type: integer 27 default: 9 28 env: MY_FIRST_PARAM 29 applyTo: 30 - "install" 31 - name: my-second-param 32 description: "My second parameter" 33 type: string 34 default: spring-music-demo 35 path: /path/to/my-second-param 36 sensitive: true 37 38 outputs: 39 - name: my-first-output 40 type: string 41 applyTo: 42 - "install" 43 - "upgrade" 44 sensitive: true 45 - name: my-second-output 46 description: "My second output" 47 type: boolean 48 sensitive: false 49 - name: kubeconfig 50 type: file 51 path: /home/nonroot/.kube/config 52 53 mixins: 54 - exec 55 56 install: 57 - exec: 58 description: "Install Hello World with custom arguments" 59 command: echo 60 arguments: 61 - ${ bundle.custom.customKey1 } 62 63 upgrade: 64 - exec: 65 description: "World 2.0" 66 command: bash 67 flags: 68 c: echo World 2.0 69 70 zombies: 71 - exec: 72 description: "Trigger zombie apocalypse" 73 command: bash 74 flags: 75 c: echo oh noes my brains 76 77 uninstall: 78 - exec: 79 description: "Uninstall Hello World" 80 command: bash 81 flags: 82 c: echo Goodbye World