Azure / draft

A day 0 tool for getting your app on k8s fast
MIT License
495 stars 59 forks source link

add examples support for draft info #165

Closed davidgamero closed 1 year ago

davidgamero commented 1 year ago

Description

Add additional information for variable suggested example values in draft.yaml

These are added to enrich draft info output

Please note the following is a breaking change: Update the draft info response to fit the following json format that allows example values and better captures the intent in JSON

{
  "supportedLanguages": [
    {
      "name": "clojure",
      "displayName": "Clojure",
      "variableExampleValues": {
        "VERSION": [
          "8-jdk-alpine",
          "11-jdk-alpine"
        ]
      }
    }
  ],
  "supportedDeploymentTypes": [
    "helm",
    "kustomize",
    "manifests"
  ]
}

Feature #164

Type of change

Feature

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Is it a breaking change which will impact consuming tool(s).

Checklist: