get.porter.sh/porter@v1.3.0/pkg/manifest/testdata/with-credentials.yaml (about)

     1  schemaVersion: 1.0.0
     2  name: porter-hello
     3  description: "An example Porter configuration"
     4  version: 0.1.0
     5  registry: "localhost:5000"
     6  
     7  mixins:
     8    - exec
     9  
    10  credentials:
    11  - name: SUBSCRIPTION_ID
    12    env: AZURE_SUBSCRIPTION_ID
    13  - name: TENANT_ID
    14    env: AZURE_TENANT_ID
    15  - name: CLIENT_ID
    16    env: AZURE_CLIENT_ID
    17  - name: CLIENT_SECRET
    18    env: AZURE_CLIENT_SECRET
    19  - name: kubeconfig
    20    path: /home/nonroot/.kube/config
    21    applyTo:
    22      - status
    23      - uninstall
    24  
    25  install:
    26  - exec:
    27      description: "Say Hello"
    28      command: bash
    29      flags:
    30        c: echo Hello World
    31  
    32  status:
    33  - exec:
    34      description: "Get World Status"
    35      command: bash
    36      flags:
    37          c: echo The world is on fire
    38  
    39  uninstall:
    40  - exec:
    41      description: "Say Goodbye"
    42      command: bash
    43      flags:
    44          c: echo Goodbye World