github.com/replicatedhq/ship@v0.55.0/fixtures/app.yml (about)

     1  # example, enter or POST to console.replicated.com
     2  ---
     3  assets:
     4    v1:
     5    - inline:
     6        contents: |
     7          #!/bin/sh
     8          kubectl delete ns {{repl ConfigOption "namespace" }}
     9  
    10          echo something random is {{repl ConfigOption "always_the_same"}}
    11        dest: ./installer/scripts/uninstall.sh
    12        mode: 0777
    13    - docker:
    14        image: postgres:10.1
    15        dest: installer/docker/postgres.tar
    16        source: public
    17    - docker:
    18        image: postgres:10.1
    19        dest: docker://localhost:5000/postgres:10.1
    20        source: public
    21  
    22  config:
    23    v1:
    24      - name: random-demo
    25        title:
    26        description: information about your kubernetes cluster
    27        items:
    28        - name: namespace
    29          title: Namespace to Deploy into
    30          type: text
    31        - name: worker_replicas
    32          title: Number of Workers to Deploy
    33          type: text
    34        # since this is hidden+default, it will get written
    35        # to the state one the first save, and then never change again
    36        - name: always_the_same
    37          title: Number of Workers to Deploy
    38          type: text
    39          hidden: true
    40          default: '{{repl RandomString 25}}'
    41  
    42  lifecycle:
    43    v1:
    44    - message:
    45        contents: |
    46          This tool will prepare assets so you can deploy Cooltool-Enterpise
    47          to your existing Kubernetes cluster
    48    - config: {}
    49    - render:
    50        id: render
    51    - message:
    52       requires:
    53          - render
    54       contents: |
    55          SuperBigTool is ready to deploy to your kubernetes cluster.
    56  
    57          If you have kubectl configured locally, you can
    58          run the following command to deploy SuperBigTool to
    59          your kubernetes cluster:
    60  
    61              bash ./scripts/install.sh
    62  
    63          To upgrade an existing installation, use
    64  
    65              bash ./scripts/upgrade.sh
    66  
    67          To uninstall SuperBigTool, run
    68  
    69              bash ./uninstall.sh
    70    - message:
    71       level: warn
    72       contents: |
    73         A state file has been written to {{repl Installation "state_file_path" }} -- please store it
    74         somewhere safe, you'll need it if you want to update or recover this installation of SuperBigTool.