enabled/disable kratos in ui

This commit is contained in:
m0duspwnens
2023-05-12 16:53:18 -04:00
parent 2a39f5f0b5
commit b71b4225c4
10 changed files with 230 additions and 126 deletions

View File

@@ -338,6 +338,13 @@ function add_mysql_to_minion() {
" " >> $PILLARFILE
}
function add_kratos_to_minion() {
printf '%s\n'\
"kratos:"\
" enabled: True"\
" " >> $PILLARFILE
}
function create_fleet_policy() {
JSON_STRING=$( jq -n \
@@ -395,6 +402,7 @@ function createEVAL() {
add_soc_to_minion
add_registry_to_minion
add_mysql_to_minion
add_kratos_to_minion
}
function createSTANDALONE() {
@@ -414,6 +422,7 @@ function createSTANDALONE() {
add_soc_to_minion
add_registry_to_minion
add_mysql_to_minion
add_kratos_to_minion
}
function createMANAGER() {
@@ -431,6 +440,7 @@ function createMANAGER() {
add_soc_to_minion
add_registry_to_minion
add_mysql_to_minion
add_kratos_to_minion
}
function createMANAGERSEARCH() {
@@ -448,6 +458,7 @@ function createMANAGERSEARCH() {
add_soc_to_minion
add_registry_to_minion
add_mysql_to_minion
add_kratos_to_minion
}
function createIMPORT() {
@@ -459,6 +470,7 @@ function createIMPORT() {
add_nginx_to_minion
add_soc_to_minion
add_registry_to_minion
add_kratos_to_minion
}
function createFLEET() {