get.porter.sh/porter@v1.3.0/build/testdata/bundles/mysql/porter.yaml (about)

     1  schemaVersion: 1.0.1
     2  name: mysql
     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  credentials:
    14  - name: kubeconfig
    15    path: /home/nonroot/.kube/config
    16  
    17  parameters:
    18  - name: database-name
    19    type: string
    20    default: mydb
    21    env: DATABASE_NAME
    22  - name: mysql-user
    23    type: string
    24    default: mysql-admin
    25    env: MYSQL_USER
    26  - name: namespace
    27    type: string
    28    default: 'mysql'
    29  - name: mysql-name
    30    type: string
    31    default: porter-ci-mysql
    32  - name: probe-timeout
    33    description: Timeout for liveness and readiness probes
    34    type: integer
    35    default: 1
    36  
    37  install:
    38  - exec:
    39      command: ./helpers.sh
    40      arguments:
    41        - install
    42  
    43  ping:
    44    - exec:
    45        description: "Ping"
    46        command: ./helpers.sh
    47        arguments:
    48          - ping
    49  
    50  upgrade:
    51    - exec:
    52        command: ./helpers.sh
    53        arguments:
    54          - install
    55  
    56  uninstall:
    57    - exec:
    58        command: echo
    59        arguments:
    60          - uninstall mysql
    61  
    62  outputs:
    63    - name: mysql-password
    64      description: "The mysql database password"
    65      type: string
    66      default: "default-password"
    67      applyTo:
    68        - install
    69        - upgrade
    70      sensitive: true
    71      path: /cnab/app/outputs/mysql-password
    72    - name: mysql-root-password
    73      description: "The mysql root user password"
    74      default: "default-root-password"
    75      type: string
    76      applyTo:
    77        - install
    78        - upgrade
    79      sensitive: true
    80      path: /cnab/app/outputs/mysql-root-password