upgrade influx

This commit is contained in:
Jason Ertel
2023-02-09 16:18:04 -05:00
parent 067b6bacd1
commit 0e50d36da6
4 changed files with 107 additions and 3 deletions

View File

@@ -588,6 +588,7 @@ case "${operation}" in
syncAll
echo "Successfully added new user to SOC"
check_container fleet && echo "$password" | so-fleet-user-add "$email"
echo "$password" | so-influxdb-user add "$email"
;;
"list")
@@ -628,6 +629,7 @@ case "${operation}" in
updateUserPassword "$email"
syncAll
echo "Successfully updated user password"
echo "$password" | so-influxdb-user password "$email"
;;
"profile")
@@ -648,6 +650,7 @@ case "${operation}" in
syncAll
echo "Successfully enabled user"
echo "Fleet user will need to be recreated manually with so-fleet-user-add"
so-influxdb-user enable "$email"
;;
"disable")
@@ -659,6 +662,7 @@ case "${operation}" in
syncAll
echo "Successfully disabled user"
check_container fleet && so-fleet-user-delete "$email"
so-influxdb-user disable "$email"
;;
"delete")
@@ -670,6 +674,7 @@ case "${operation}" in
syncAll
echo "Successfully deleted user"
check_container fleet && so-fleet-user-delete "$email"
so-influxdb-user delete "$email"
;;
"sync")