get.porter.sh/porter@v1.3.0/tests/integration/testdata/bundles/failing-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: "Failing step to test sensitive data logging"
    33        command: fail
    34        arguments:
    35          - open_door
    36          - "{{ bundle.parameters.password }}"
    37  
    38  upgrade:
    39    - exec:
    40        description: "upgrade"
    41        command: ./helpers.sh
    42        arguments:
    43          - upgrade
    44  
    45  uninstall:
    46    - exec:
    47        description: "uninstall"
    48        command: ./helpers.sh
    49        arguments:
    50          - uninstall