get.porter.sh/porter@v1.3.0/tests/integration/testdata/bundles/bundle-with-sensitive-data/porter.yaml (about)

     1  schemaVersion: 1.0.0-alpha.1
     2  name: mybuns
     3  version: 0.1.2
     4  description: "A test bundle for sensitive data"
     5  registry: localhost:5000
     6  
     7  parameters:
     8    - name: name
     9      description: "author name"
    10      type: string
    11      default: "porter"
    12    - name: password
    13      description: "The super secret data"
    14      type: string
    15      sensitive: true
    16  
    17  outputs:
    18    - name: mylogs
    19      applyTo:
    20        - install
    21        - upgrade
    22    - name: result
    23      applyTo:
    24        - install
    25      sensitive: true
    26  
    27  mixins:
    28    - exec
    29  
    30  install:
    31    - exec:
    32        description: "install"
    33        command: ./helpers.sh
    34        arguments:
    35          - install
    36          - "{{ bundle.parameters.name }}"
    37        outputs:
    38          - name: mylogs
    39            regex: "(.*)"
    40    - exec:
    41        description: "using password to open the secret door"
    42        command: ./helpers.sh
    43        arguments:
    44          - open_door
    45          - "{{ bundle.parameters.password }}"
    46        outputs:
    47          - name: result
    48            regex: "(.*)"
    49  
    50  
    51  upgrade:
    52    - exec:
    53        description: "upgrade"
    54        command: ./helpers.sh
    55        arguments:
    56          - upgrade
    57        outputs:
    58          - name: mylogs
    59            regex: "(.*)"
    60  
    61  uninstall:
    62    - exec:
    63        description: "uninstall"
    64        command: ./helpers.sh
    65        arguments:
    66          - uninstall