get.porter.sh/porter@v1.3.0/pkg/porter/testdata/porter-with-dependencies.yaml (about) 1 schemaVersion: 1.0.0-alpha.1 2 name: porter-hello 3 version: 0.1.0 4 description: "A bundle with dependencies" 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 23 dependencies: 24 requires: 25 - name: some-dep 26 bundle: 27 reference: some-repo 28 version: ">1.0" 29 parameters: 30 param1: first-param 31 32 parameters: 33 - name: my-first-param 34 type: integer 35 default: 9 36 env: MY_FIRST_PARAM 37 applyTo: 38 - "install" 39 - name: my-second-param 40 description: "My second parameter" 41 type: string 42 default: spring-music-demo 43 path: /path/to/my-second-param 44 sensitive: true 45 46 outputs: 47 - name: my-first-output 48 type: string 49 applyTo: 50 - "install" 51 - "upgrade" 52 sensitive: true 53 - name: my-second-output 54 description: "My second output" 55 type: boolean 56 sensitive: false 57 - name: kubeconfig 58 type: file 59 path: /home/nonroot/.kube/config 60 61 mixins: 62 - exec 63 64 install: 65 - exec: 66 description: "Install Hello World with custom arguments" 67 command: echo 68 arguments: 69 - "{{ bundle.custom.customKey1 }}" 70 71 upgrade: 72 - exec: 73 description: "World 2.0" 74 command: bash 75 flags: 76 c: echo World 2.0 77 78 zombies: 79 - exec: 80 description: "Trigger zombie apocalypse" 81 command: bash 82 flags: 83 c: echo oh noes my brains 84 85 uninstall: 86 - exec: 87 description: "Uninstall Hello World" 88 command: bash 89 flags: 90 c: echo Goodbye World