diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index d67adf7..7c23dae 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: cloud-dashboard - image: naeel/cloud-dashboard:v9.8 + image: naeel/cloud-dashboard:v9.9 imagePullPolicy: Always ports: - containerPort: 8080 diff --git a/static/deployment.yaml b/static/deployment.yaml new file mode 100644 index 0000000..7c23dae --- /dev/null +++ b/static/deployment.yaml @@ -0,0 +1,28 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cloud-dashboard + namespace: terra +spec: + replicas: 1 + selector: + matchLabels: + app: cloud-dashboard + template: + metadata: + labels: + app: cloud-dashboard + spec: + containers: + - name: cloud-dashboard + image: naeel/cloud-dashboard:v9.9 + imagePullPolicy: Always + ports: + - containerPort: 8080 + resources: + requests: + memory: "64Mi" + cpu: "50m" + limits: + memory: "128Mi" + cpu: "200m" diff --git a/static/index.html b/static/index.html index 31b82d2..c5380cf 100644 --- a/static/index.html +++ b/static/index.html @@ -106,7 +106,7 @@ .run { color: #e3b341; } .deps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .deps-section h4 { font-size: 11px; font-weight: 600; color: #8b949e; text-transform: uppercase; margin-bottom: 8px; } - .dep-item { background: #161b22; border: 1px solid #30363d; border-radius: 6px; padding: 9px 13px; margin-bottom: 6px; } + .dep-item { background: #161b22; border: 1px solid #30363d; border-radius: 6px; padding: 9px 13px; margin-bottom: 6px; cursor: pointer; } .dep-name { font-weight: 600; font-size: 13px; color: #58a6ff; } .dep-meta { font-size: 11px; color: #8b949e; margin-top: 3px; } .empty-msg { color: #8b949e; font-size: 12px; padding: 8px 0; } @@ -140,6 +140,19 @@ body.light .graph-modal-box { background: #ffffff; border-color: #cbd5e1; } body.light .graph-modal-head { border-bottom-color: #cbd5e1; } body.light .graph-modal-close { background: #f8fafc; border-color: #cbd5e1; color: #0f172a; } + body.light .p-item { border-bottom-color: #e2e8f0; color: #0f172a; } + body.light .p-key { color: #475569; } + body.light .p-val { color: #0f172a; } + body.light .params-section h4 { color: #64748b; } + body.light .dep-item { background: #ffffff; border-color: #cbd5e1; } + body.light .dep-name { color: #1d4ed8; } + body.light .dep-meta { color: #64748b; } + body.light .deps-section h4 { color: #64748b; } + body.light .hist-table th { color: #64748b; border-bottom-color: #cbd5e1; } + body.light .hist-table td { border-bottom-color: #e2e8f0; color: #0f172a; } + body.light .nav-back { background: #ffffff; border-bottom-color: #cbd5e1; color: #475569; } + body.light .nav-back a { color: #475569; } + body.light .nav-back a:hover { color: #0f172a; } @media (max-width: 700px) { td:nth-child(5), th:nth-child(5), td:nth-child(4), th:nth-child(4) { display: none; } .params-grid, .deps-grid { grid-template-columns: 1fr; }