some improvements
This commit is contained in:
parent
afc6e3a412
commit
bae55a54f4
5 changed files with 4 additions and 2 deletions
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
source /hooks/common/functions.sh
|
||||
|
||||
if [[ $1 == "--config" ]]; then
|
||||
config add
|
||||
else
|
||||
json=${BINDING_CONTEXT_PATH}
|
||||
ns=$(jq -r '.[0].resourceNamespace' ${json})
|
||||
res=$(jq -r '.[0].resourceName' ${json})
|
||||
add "${res}" "${ns}"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue