Skip to content

Commit

Permalink
add helm secrets exec-env script
Browse files Browse the repository at this point in the history
  • Loading branch information
gdecicco committed Apr 21, 2024
1 parent e2f86d1 commit 82d21ea
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 0 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
TODO: INSERT YOUR NAME COPYRIGHT YEAR (if applicable to your license)

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down
23 changes: 23 additions & 0 deletions bin/exec-env
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash

# Environment Variables available to script

# ASDF_INSTALL_TYPE: version or ref
# ASDF_INSTALL_VERSION:
# Full version number if ASDF_INSTALL_TYPE=version.
# Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
# ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

# Commands that invoke this script

# asdf which <command>: Display the path to an executable
# asdf exec <command> [args...]: Executes the command shim for current version
# asdf env <command> [util]: Runs util (default: env) inside the environment used for command shim execution.

setup_plugin_usage() {
echo "here we need to enable the use of this pecific version of helm plugin"
helm plugin uninstall helm-secrets
helm plugin install "${ASDF_INSTALL_PATH}"
}

setup_plugin_usage
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.0

0 comments on commit 82d21ea

Please sign in to comment.