github.com/replicatedhq/ship@v0.55.0/integration/base/config-chain-override/input/.ship/ship.yml (about)

     1  
     2  ---
     3  assets:
     4    v1:
     5      - inline:
     6          contents: |
     7            #!/bin/bash
     8            echo "t2: {{repl ConfigOption "t2_option" }}"
     9            echo "t3: {{repl ConfigOption "t3_option" }}"
    10          dest: ./scripts/install.sh
    11          mode: 0777
    12      - inline:
    13          contents: |
    14            #!/bin/bash
    15            echo "testing testing {{repl ConfigOption "option" }}"
    16          dest: ./scripts/test.sh
    17          mode: 0777
    18  
    19  config:
    20    v1:
    21      - name: option_chaining
    22        title: Config Option Chaining
    23        items:
    24        - name: option
    25          title: Base Option
    26          type: text
    27        - name: t2_option
    28          title: Readonly Derivative
    29          readonly: true
    30          value: '{{repl ConfigOption "option" }}_{{repl ConfigOption "option" }}'
    31          type: text
    32        - name: t3_option
    33          title: Tier Three Readonly Derivative
    34          readonly: true
    35          value: '{{repl ConfigOption "t2_option" }} + {{repl ConfigOption "option" }}'
    36          type: text
    37  
    38  lifecycle:
    39    v1:
    40      - render: {}