-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* deprecate k8s admission log UI * whitespace change to re trigger checks --------- Co-authored-by: Nasir Rabbani <[email protected]>
- Loading branch information
1 parent
ef2c91d
commit 77ba67b
Showing
4 changed files
with
86 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,39 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>K8s Admission Review Logs</title> | ||
<head> | ||
<title>K8s Admission Review Logs</title> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="/assets/jsonTree.css"> | ||
<link rel="stylesheet" href="/assets/webhook-scan-logs.css"> | ||
</head> | ||
<body> | ||
<table class="table table-sm" style="table-layout: fixed;" aria-describedby="logs-table"> | ||
<thead class="thead-light"> | ||
<tr> | ||
</head> | ||
<body> | ||
<table class="table table-sm" style="table-layout: fixed;" aria-describedby="logs-table"> | ||
<thead class="thead-light"> | ||
<tr> | ||
<th scope="col" style="width: 256px" >Time</th> | ||
<th scope="col" style="width: 200px">Status</th> | ||
<th scope="col" style="width: 50%">Request</th> | ||
<th scope="col" style="width: 50%">Reasoning</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{{range .}} | ||
<tr> | ||
<td class="review-time"><a href={{.LogURL}} class="time-object" target="_blank">{{.CreatedAt}}</a></td> | ||
<td class="review-status">{{.Status}}</td> | ||
<td class="review-request json-object ">{{.Request}}</td> | ||
<td class="review-reasoning json-object ">{{.Reasoning}}</td> | ||
</tr> | ||
{{end}} | ||
</tbody> | ||
</table> | ||
<script type="text/javascript" src="/assets/jsonTree.js"></script> | ||
<script type="text/javascript" src="/assets/moment.js"></script> | ||
<script type="text/javascript" src="/assets/webhook-scan-logs.js"></script> | ||
</body> | ||
<th scope="col" style="width: 200px">Status</th> | ||
<th scope="col" style="width: 50%">Request</th> | ||
<th scope="col" style="width: 50%">Reasoning</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{{range .}} | ||
<tr> | ||
<td class="review-time"><a href={{.LogURL}} class="time-object" target="_blank">{{.CreatedAt}}</a></td> | ||
<td class="review-status">{{.Status}}</td> | ||
<td class="review-request json-object ">{{.Request}}</td> | ||
<td class="review-reasoning json-object ">{{.Reasoning}}</td> | ||
</tr> | ||
{{end}} | ||
</tbody> | ||
</table> | ||
<div class="warning message"> | ||
<h2>Deprecation Warning</h2> | ||
<p>We're sorry to inform that K8s Admission Review Logs UI is deprecated and will be deleted in the upcoming | ||
release.</p> | ||
</div> | ||
<script type="text/javascript" src="/assets/jsonTree.js"></script> | ||
<script type="text/javascript" src="/assets/moment.js"></script> | ||
<script type="text/javascript" src="/assets/webhook-scan-logs.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters