get.porter.sh/porter@v1.3.0/build/testdata/bundles/wordpress/porter.yaml (about) 1 schemaVersion: 1.0.1 2 name: wordpress 3 version: 0.1.4 4 registry: "localhost:5000" 5 6 mixins: 7 - exec 8 - helm3: 9 repositories: 10 bitnami: 11 url: "https://charts.bitnami.com/bitnami" 12 13 dependencies: 14 requires: 15 - name: mysql 16 bundle: 17 reference: localhost:5000/mysql:v0.1.4 18 parameters: 19 database-name: wordpress 20 mysql-user: wordpress 21 namespace: wordpress 22 23 credentials: 24 - name: kubeconfig 25 path: /home/nonroot/.kube/config 26 27 parameters: 28 - name: wordpress-name 29 type: string 30 default: porter-ci-wordpress 31 env: WORDPRESS_NAME 32 - name: wordpress-password 33 type: string 34 sensitive: true 35 applyTo: 36 - install 37 - upgrade 38 - name: namespace 39 type: string 40 default: 'wordpress' 41 42 install: 43 - exec: 44 command: ./helpers.sh 45 arguments: 46 - install 47 48 upgrade: 49 - exec: 50 command: ./helpers.sh 51 arguments: 52 - install 53 54 ping: 55 - exec: 56 description: "Ping" 57 command: ./helpers.sh 58 arguments: 59 - ping 60 61 uninstall: 62 - exec: 63 command: echo 64 arguments: 65 - uninstalled 66 67 outputs: 68 - name: wordpress-password 69 description: "The Wordpress installation password" 70 type: string 71 default: "default-password" 72 applyTo: 73 - "install" 74 - "upgrade" 75 sensitive: true 76 path: /cnab/app/outputs/wordpress-password