diff --git a/.version b/.version index 40c06ccb..32f8572e 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v3.8.0 +v3.8.1 diff --git a/README.md b/README.md index 1a09de3f..c2e90f4f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![GitHub version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=gh&type=6&v=v3.8.0&x2=0)](https://github.com/Praqma/helmsman/releases) [![CircleCI](https://circleci.com/gh/Praqma/helmsman/tree/master.svg?style=svg)](https://circleci.com/gh/Praqma/helmsman/tree/master) +[![GitHub version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=gh&type=6&v=v3.8.1&x2=0)](https://github.com/Praqma/helmsman/releases) [![CircleCI](https://circleci.com/gh/Praqma/helmsman/tree/master.svg?style=svg)](https://circleci.com/gh/Praqma/helmsman/tree/master) ![helmsman-logo](docs/images/helmsman.png) @@ -76,9 +76,9 @@ Check the [releases page](https://github.com/Praqma/Helmsman/releases) for the d ```sh # on Linux -curl -L https://github.com/Praqma/helmsman/releases/download/v3.7.7/helmsman_3.7.7_linux_amd64.tar.gz | tar zx +curl -L https://github.com/Praqma/helmsman/releases/download/v3.8.1/helmsman_3.8.1_linux_amd64.tar.gz | tar zx # on MacOS -curl -L https://github.com/Praqma/helmsman/releases/download/v3.7.7/helmsman_3.7.7_darwin_amd64.tar.gz | tar zx +curl -L https://github.com/Praqma/helmsman/releases/download/v3.8.1/helmsman_3.8.1_darwin_amd64.tar.gz | tar zx mv helmsman /usr/local/bin/helmsman ``` diff --git a/docs/how_to/misc/multiple_desired_state_files_specification.md b/docs/how_to/misc/multiple_desired_state_files_specification.md index 0de9c740..8167ec79 100644 --- a/docs/how_to/misc/multiple_desired_state_files_specification.md +++ b/docs/how_to/misc/multiple_desired_state_files_specification.md @@ -1,17 +1,15 @@ --- -version: v3.8.0 +version: v3.8.1 --- # Specification file -Starting from v3.8.0, Helmsman allows you to use Specification file passed with `--spec ` flag +Starting from v3.8.0, Helmsman allows you to use Specification file passed with `--spec ` flag in order to define multiple Desired State Files to be merged in particular order and with specific priorities. -An example Specification file: +An example Specification file `spec.yaml`: -`spec.yaml`: - -``` +```yaml --- stateFiles: - path: examples/example.yaml @@ -23,17 +21,20 @@ stateFiles: ``` This file can be then run with: + ```shell helmsman --spec spec.yaml ... ``` What it does is it takes the files from `stateFiles` list and orders them based on their priorities same way it does with the apps in DSF file. In an example above the result order would be: -``` + +```yaml - path: examples/minimal-example.toml - path: examples/minimal-example.yaml - path: examples/example.yaml ``` + with priorities being `-20, -10, 0` after ordering. Once ordering is done, Helmsman will read each file one by one and merge the previous states with the current file it goes through. diff --git a/internal/app/main.go b/internal/app/main.go index 3bf88f83..153b3144 100644 --- a/internal/app/main.go +++ b/internal/app/main.go @@ -8,7 +8,7 @@ import ( const ( helmBin = "helm" kubectlBin = "kubectl" - appVersion = "v3.8.0" + appVersion = "v3.8.1" tempFilesDir = ".helmsman-tmp" defaultContextName = "default" resourcePool = 10 diff --git a/release-notes.md b/release-notes.md index 9533176d..14645ebb 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,4 +1,4 @@ -# v3.8.0 +# v3.8.1 ## Fixes and improvements