Skip to content

Commit

Permalink
Pull extended parameters (#3)
Browse files Browse the repository at this point in the history
* Added destination and output parameters to pull command.

* Removed trailing spaces.

* Update version and tests

Co-authored-by: Vadim Zabolotniy <zabolotniy.v.y@gmail.com>
  • Loading branch information
rtpro and vadim-zabolotniy authored Aug 5, 2022
1 parent d27493a commit 5f2672f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/api/helm-ops.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
function pull_chart_from_release() {

local msg="usage: helm release pull <RELEASE NAME> [-d | --destination <TARGET CHART DIRECTORY> Default(./)] [-o | --output [yaml | json | text]]"
local msg="usage: helm release pull <RELEASE NAME> [-d | --destination <TARGET CHART DIRECTORY>] [-o | --output [yaml | json | text]]"
NAMESPACE=$HELM_NAMESPACE
K8S_CONTEXT=$HELM_KUBECONTEXT
DESTINATION_DIR="."
Expand Down
2 changes: 1 addition & 1 deletion lib/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function main() {
)

local commands="${!command_table[@]}"
local msg="usage: ./release.sh [$commands]"
local msg="usage: helm release [$commands]"
if [[ $# < 1 ]]; then exit_with_help "$msg"; fi

local command=${1}; shift
Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

Name: "release"
version: "0.1.0"
version: "0.2.0"
usage: "pull or update Helm Releases"
description: |-
Update values of a releases, pull charts from releases
Expand Down

0 comments on commit 5f2672f

Please sign in to comment.