feat: renovatebot #2

Merged
ange merged 24 commits from staging into prod 2024-12-23 02:44:15 +00:00
Showing only changes of commit 7f325085c4 - Show all commits

View File

@ -22,7 +22,7 @@ function kgseckey() {
local ret
ret="$(kubectl get secret "$sec" -o jsonpath="{.data.$key}" | base64 -d)"
if [ "$?" -eq 0 ] || [ -z "$ret" ]; then
if [ "$?" -ne 0 ] || [ -z "$ret" ]; then
return 1
fi
echo "$ret"
@ -34,7 +34,7 @@ function kgcmkey() {
local ret;
ret="$(kubectl get configmap "$cm" -o jsonpath="{.data.$key}")"
if [ "$?" -eq 0 ] || [ -z "$ret" ]; then
if [ "$?" -ne 0 ] || [ -z "$ret" ]; then
return 1
fi
echo "$ret"