github.com/replicatedcom/ship@v0.50.0/integration/base/default-values/expected/.ship/release.yml (about)

     1  
     2  ---
     3  assets:
     4    v1:
     5    - inline:
     6        contents: |
     7          #!/bin/sh
     8          echo namespace is {{repl ConfigOption "namespace"}}
     9          echo cluster is {{repl ConfigOption "cluster"}}
    10          echo ingress controller is {{repl ConfigOption "ingress"}}
    11          echo scheduler is {{repl ConfigOption "scheduler"}}
    12          echo environment is {{repl ConfigOption "environment"}}
    13          echo pod is {{repl ConfigOption "pod"}}
    14        dest: ./scripts/echo.sh
    15        mode: 0777
    16  
    17  config:
    18    v1:
    19      - name: default-values-bug
    20        description: information about your kubernetes cluster
    21        items:
    22          # Customer-value provided, no vendor-default: should use customer-provided value and write namespace:customer-value to `state.json`
    23        - name: namespace
    24          type: text
    25          # Customer-value provided, vendor-default provided: should use customer-provided value and write cluster:customer-value to `state.json`
    26        - name: cluster
    27          type: text
    28          default: Bravo
    29          # No customer-value, vendor-default provided: should use vendor-default and NOT render ingress to `state.json`
    30        - name: ingress
    31          type: text
    32          default: Charlie
    33          # Empty value in state.json, vendor-default: should use empty value and write scheduler:"" to state.json
    34        - name: scheduler
    35          type: text
    36          default: Delta
    37          # Vendor-supplied default == customer-supplied value: should use customer-supplied value and write environment:customer-value to `state.json`
    38        - name: environment
    39          type: text
    40          default: Epsilon
    41          # No customer-value, no vendor-default: should use <> and write pod:<> to `state.json`
    42        - name: pod
    43          type: text
    44  
    45  lifecycle:
    46    v1:
    47    - render: {}