Releases: Azure/draft
v0.0.26
Added
- The new
draft infocommand from #157 prints supported language and field information in json format. - An integration test was added for the installation shell script to better ensure that the script works as expected.
Fixed
- File path output for root locations had a bug with string-formatted paths. The
path.Joinmethod has been substituted to fix this.
Changed
- Remaining uses of the
viperlibrary have been migrated togopkg.in/yaml.v3for consistency. - Unused files in the
webpackage have been removed. - Minor reorganization across the
configandaddonspackages to reduce the number of exported functions and types.
v0.0.25
-
add
IMAGENAMEandNAMESPACEvariables to the deployment to allow deeper customization-
The
NAMESPACEdefaults to the default namespace -
The
IMAGENAMEdefaults to theAPPNAMEvalu e
-
-
Add new
referenceVarfield tovariableDefaultstype- The value of the
referenceVarinput will be copied as the default - A referenceVar has higher precedence when defaulting compared to a static variableDefault
valuefield - variableDefaults are processed in order, so a variableDefault can only use a
referenceVarthat is listed before it in the draft.yamlvariables
- The value of the
# valid draft.yaml
variables: # variables are named in the order they will be prompted
- name: "FIRST"
description: "the first variable"
- name: "SECOND"
description: "the second variable"
variableDefaults:
- name: "SECOND" # "default the value of SECOND to the value of FIRST"
referenceVar: "FIRST" # valid config since SECOND comes after FIRST in the `variables` section
# INVALID draft.yaml
variables:
- name: "FIRST"
description: "the first variable"
- name: "SECOND"
description: "the second variable"
variableDefaults:
- name: "FIRST" # "default the value of FIRST to the value of SECOND"
referenceVar: "SECOND" # SECOND will always be empty when FIRST is being prompted, so the default will be the empty string
v0.0.24
add --variable flag to draft update command
builderVariables can be supplied to the update command using the new --variable flag
this allows non-interactive use of the update command
added integration tests for update command for webapp_routing addon that creates an ingress using the non-interactive flags mode
v0.0.23
refactored to include the parametric update command that allows arbitrary addon template/CRD support
draft update -a addon_name
moved templates embedded filesystems to use a go import path within the template module for easy importing draft as a dependency
v0.0.22
fixing dockerfile/deployment only creation with skip-file-detection (…
v0.0.21
Split stdout and stderr in logrus (#108) * split stdout and stderr * delete extra line
v0.0.20
fixed manifest image pull + kustomize selector (#93) * fix manifest image pull * fixing kustomize too
v0.0.19
update starter workflows (#91) Co-authored-by: imiller31 <imiller31@users.noreply.github.com>
v0.0.18
add default case in workflows.go (#90) * change kustomize to default in workflows.go update the image tag for manifes. For kustomize and helm we use a production override which has the image modified however, we do not do this for regular k8s manifests. This PR changes that. * Add Karen's suggestion Returning the kustomize case and having a case directly for the manifests pointing to the manifests folder * add missing bracket
v0.0.17
add needs to workflow job struct