웹 UI 추가 및 Dockerfile 추가
This commit is contained in:
27
templates/index.html
Normal file
27
templates/index.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Ingress Migrator</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Ingress Migrator</h1>
|
||||
|
||||
<div class="card">
|
||||
<form method="post">
|
||||
<label>From ingressClass</label>
|
||||
<input name="from_class" value="nginx">
|
||||
|
||||
<label>To ingressClass</label>
|
||||
<input name="to_class" value="haproxy">
|
||||
|
||||
<label>Namespace (optional)</label>
|
||||
<input name="namespace">
|
||||
|
||||
<button type="submit">Run Migration</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user