Skip to content

Commit

Permalink
feat: add applogers for the admin ui plugin to values schema
Browse files Browse the repository at this point in the history
  • Loading branch information
moabu committed Feb 24, 2022
1 parent 5208e19 commit 873dc55
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions automation/janssen_helm_chart/analyze_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ def clean_keys(values_dict: {}, parent_key="", second_parent_key="") -> None:
if k == "istio":
del values_schema["properties"]["global"]["properties"]["istio"]["properties"]["ingress"]
continue
elif k == "config-api":
del values_schema["properties"]["global"]["properties"]["config-api"]["properties"]["adminUiappLoggers"]
continue
try:
del values_schema["properties"]["global"]["properties"][k]
logger.info(f"Removed {k}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,33 @@
"pattern":"^(FATAL|ERROR|WARN|INFO|DEBUG|TRACE)$"
}
}
},
"adminUiappLoggers":{
"type":"object",
"properties":{
"adminUiLogTarget":{
"description":"config-api admin-ui plugin log target",
"type":"string",
"pattern":"^(STDOUT|FILE)$"
},
"adminUiLogLevel":{
"description":"config-api admin-ui plugin log level",
"type":"string",
"pattern":"^(FATAL|ERROR|WARN|INFO|DEBUG|TRACE)$"
},
"adminUiAuditLogTarget":{
"description":"config-api admin-ui plugin audit log target",
"type":"string",
"pattern":"^(STDOUT|FILE)$"
},
"adminUiAuditLogLevel":{
"description":"config-api admin-ui plugin audit log level",
"type":"string",
"pattern":"^(FATAL|ERROR|WARN|INFO|DEBUG|TRACE)$"
}
}
}

}
},
"fqdn":{
Expand Down

0 comments on commit 873dc55

Please sign in to comment.