Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 515317dcb2 | |||
| 37af076456 | |||
| 0476fd1076 | |||
| 6a47358771 | |||
| f7d415e013 | |||
| 2a60029104 | |||
| 76c7a5bc1f | |||
| d64db24240 | |||
| 9bd07e1928 | |||
| 40b0a2d220 | |||
| fb3d262eb7 | |||
| 0f88a9b19f | |||
| d3860ff5a2 | |||
| 7165bdf79b | |||
| eb218dc7f4 | |||
| c02efe5430 | |||
| daf0ebbff5 | |||
| fc8a9eebac | |||
| 07bcfa084a | |||
| 1755cedd88 | |||
| 07a99a76ce | |||
| c3d3989cdc | |||
| 2012a34938 | |||
| 7603dfeb29 | |||
| 9ad0b24580 | |||
| acc9d8fac1 |
+93
-21
@@ -7,6 +7,10 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
HEADLAMP_NAMESPACE: kube-system
|
||||||
|
HEADLAMP_DEPLOY: headlamp
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
e2e:
|
e2e:
|
||||||
runs-on: local-ubuntu-latest
|
runs-on: local-ubuntu-latest
|
||||||
@@ -14,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
@@ -25,35 +29,103 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Preflight — verify Headlamp connectivity
|
- name: Build plugin
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Setup kubectl
|
||||||
|
uses: azure/setup-kubectl@v4
|
||||||
|
|
||||||
|
- name: Ensure PVC exists
|
||||||
|
run: kubectl apply -f deployment/headlamp-plugins-pvc.yaml
|
||||||
|
|
||||||
|
- name: Patch Headlamp deployment with shared volume mount
|
||||||
|
run: |
|
||||||
|
NS="$HEADLAMP_NAMESPACE"
|
||||||
|
DEPLOY="$HEADLAMP_DEPLOY"
|
||||||
|
|
||||||
|
# Check if the plugins volume and mount already exist (by name or mountPath)
|
||||||
|
DEPLOY_JSON=$(kubectl get deploy "$DEPLOY" -n "$NS" -o json)
|
||||||
|
HAS_VOL=$(echo "$DEPLOY_JSON" | \
|
||||||
|
python3 -c "import sys,json; d=json.load(sys.stdin); vols=d['spec']['template']['spec'].get('volumes',[]); print('yes' if any(v.get('persistentVolumeClaim',{}).get('claimName')=='headlamp-plugins' or v.get('name')=='plugins' for v in vols) else '')")
|
||||||
|
HAS_MOUNT=$(echo "$DEPLOY_JSON" | \
|
||||||
|
python3 -c "import sys,json; d=json.load(sys.stdin); mounts=d['spec']['template']['spec']['containers'][0].get('volumeMounts',[]); print('yes' if any(m.get('mountPath')=='/headlamp/plugins' or m.get('name')=='plugins' for m in mounts) else '')")
|
||||||
|
|
||||||
|
NEEDS_PATCH=false
|
||||||
|
|
||||||
|
if [ -z "$HAS_VOL" ]; then
|
||||||
|
echo "Adding plugins PVC volume..."
|
||||||
|
kubectl patch deploy "$DEPLOY" -n "$NS" --type=json -p '[
|
||||||
|
{"op":"add","path":"/spec/template/spec/volumes/-","value":{
|
||||||
|
"name":"plugins",
|
||||||
|
"persistentVolumeClaim":{"claimName":"headlamp-plugins"}
|
||||||
|
}}
|
||||||
|
]'
|
||||||
|
NEEDS_PATCH=true
|
||||||
|
else
|
||||||
|
echo "Plugins volume already present, skipping."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$HAS_MOUNT" ]; then
|
||||||
|
echo "Adding plugins volume mount..."
|
||||||
|
kubectl patch deploy "$DEPLOY" -n "$NS" --type=json -p '[
|
||||||
|
{"op":"add","path":"/spec/template/spec/containers/0/volumeMounts/-","value":{
|
||||||
|
"name":"plugins",
|
||||||
|
"mountPath":"/headlamp/plugins",
|
||||||
|
"readOnly":true
|
||||||
|
}}
|
||||||
|
]'
|
||||||
|
NEEDS_PATCH=true
|
||||||
|
else
|
||||||
|
echo "Plugins volume mount already present, skipping."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set the plugins directory via env var
|
||||||
|
kubectl set env deploy/"$DEPLOY" -n "$NS" \
|
||||||
|
HEADLAMP_CONFIG_PLUGIN_DIR=/headlamp/plugins
|
||||||
|
|
||||||
|
# Wait for rollout
|
||||||
|
kubectl rollout status deploy/"$DEPLOY" -n "$NS" --timeout=120s
|
||||||
|
|
||||||
|
- name: Deploy plugin via shared volume
|
||||||
|
run: scripts/deploy-plugin-via-volume.sh
|
||||||
|
|
||||||
|
- name: Preflight — verify Headlamp and plugin availability
|
||||||
env:
|
env:
|
||||||
HEADLAMP_URL: ${{ secrets.HEADLAMP_URL || 'http://headlamp.kube-system.svc.cluster.local' }}
|
HEADLAMP_URL: ${{ secrets.HEADLAMP_URL || 'http://headlamp.kube-system.svc.cluster.local' }}
|
||||||
run: |
|
run: |
|
||||||
echo "::group::Expected plugin version"
|
PLUGIN_NAME=$(node -p "require('./package.json').name")
|
||||||
EXPECTED=$(node -p "require('./package.json').version")
|
EXPECTED=$(node -p "require('./package.json').version")
|
||||||
echo "Plugin version in repo: $EXPECTED"
|
echo "Expecting: $PLUGIN_NAME@$EXPECTED"
|
||||||
echo "::endgroup::"
|
|
||||||
|
# Wait for Headlamp to be reachable
|
||||||
|
for i in $(seq 1 30); do
|
||||||
|
HTTP_CODE=$(curl -s -o /dev/null -w '%{http_code}' --connect-timeout 5 "$HEADLAMP_URL" || true)
|
||||||
|
if [ "$HTTP_CODE" != "000" ]; then
|
||||||
|
echo "Headlamp responded HTTP $HTTP_CODE"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
echo "Waiting for Headlamp... ($i/30)"
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
|
||||||
echo "::group::Headlamp connectivity"
|
|
||||||
HTTP_CODE=$(curl -s -o /dev/null -w '%{http_code}' --connect-timeout 10 "$HEADLAMP_URL" || true)
|
|
||||||
if [ "$HTTP_CODE" = "000" ]; then
|
if [ "$HTTP_CODE" = "000" ]; then
|
||||||
echo "::error::Cannot reach Headlamp at $HEADLAMP_URL — E2E tests will fail"
|
echo "::error::Cannot reach Headlamp at $HEADLAMP_URL after 60s"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "Headlamp responded with HTTP $HTTP_CODE at $HEADLAMP_URL"
|
|
||||||
echo "::endgroup::"
|
|
||||||
|
|
||||||
echo "::group::Installed plugins"
|
# Verify plugin is visible
|
||||||
# Headlamp serves plugin metadata at /plugins — no auth required
|
PLUGIN_JSON=$(curl -sf --connect-timeout 10 "$HEADLAMP_URL/plugins" 2>/dev/null || echo "[]")
|
||||||
curl -sf --connect-timeout 10 "$HEADLAMP_URL/plugins" 2>/dev/null \
|
node -e "
|
||||||
| node -e "
|
const plugins = JSON.parse(process.argv[1]);
|
||||||
const d = require('fs').readFileSync(0,'utf8');
|
console.log('Installed plugins:');
|
||||||
try {
|
for (const p of plugins) console.log(' ' + p.name + '@' + (p.version||'unknown'));
|
||||||
const plugins = JSON.parse(d);
|
const ours = plugins.find(p => p.name === '$PLUGIN_NAME' || p.name === 'polaris' || p.name.includes('polaris'));
|
||||||
for (const p of plugins) console.log(' ' + p.name + '@' + (p.version||'unknown'));
|
if (!ours) {
|
||||||
} catch { console.log(' (could not parse plugin list)'); }
|
console.log('::warning::Plugin $PLUGIN_NAME not yet visible — Headlamp may need a restart');
|
||||||
" || echo " (plugin list endpoint not available — tests will validate at runtime)"
|
} else {
|
||||||
echo "::endgroup::"
|
console.log('Found plugin: ' + ours.name + ' at path ' + ours.path);
|
||||||
|
}
|
||||||
|
" "$PLUGIN_JSON"
|
||||||
|
|
||||||
- name: Install Playwright browsers
|
- name: Install Playwright browsers
|
||||||
run: npx playwright install --with-deps chromium
|
run: npx playwright install --with-deps chromium
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
# Installation Policy
|
||||||
|
|
||||||
|
## Approved Installation Method
|
||||||
|
|
||||||
|
**The ONLY approved method for installing this plugin is via [Artifact Hub](https://artifacthub.io/) using the Headlamp plugin installer.**
|
||||||
|
|
||||||
|
No other installation method is acceptable. This includes but is not limited to:
|
||||||
|
|
||||||
|
- Direct installation from GitHub release assets
|
||||||
|
- Manual npm pack / tarball extraction
|
||||||
|
- initContainer workarounds that bypass Artifact Hub
|
||||||
|
- Direct file copy or sidecar injection
|
||||||
|
|
||||||
|
## Enforcement
|
||||||
|
|
||||||
|
All deployment configurations, CI/CD pipelines, and documentation MUST reference Artifact Hub as the sole plugin distribution channel. Any pull request that introduces an alternative installation method will be rejected.
|
||||||
|
|
||||||
|
## Rationale
|
||||||
|
|
||||||
|
Artifact Hub provides verified checksums, consistent versioning, and a standard discovery mechanism for the CNCF ecosystem. Bypassing it introduces security and integrity risks.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
*This policy is set by the CTO and approved by the CEO of Privileged Escalation.*
|
||||||
@@ -48,9 +48,14 @@ Polaris must be deployed in the `polaris` namespace with the dashboard component
|
|||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
### Option 1: Headlamp Plugin Manager (Recommended)
|
The plugin is published on [Artifact Hub](https://artifacthub.io/packages/headlamp/polaris/headlamp-polaris-plugin). Install via the Headlamp UI:
|
||||||
|
|
||||||
The plugin is published on [Artifact Hub](https://artifacthub.io/packages/headlamp/polaris/headlamp-polaris-plugin). Configure Headlamp via Helm:
|
1. Go to **Settings → Plugins**
|
||||||
|
2. Click **Catalog** tab
|
||||||
|
3. Search for "Polaris"
|
||||||
|
4. Click **Install**
|
||||||
|
|
||||||
|
Or configure Headlamp via Helm:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
config:
|
config:
|
||||||
@@ -62,56 +67,6 @@ pluginsManager:
|
|||||||
url: https://github.com/privilegedescalation/headlamp-polaris-plugin/releases/download/v0.3.10/polaris-0.3.10.tar.gz
|
url: https://github.com/privilegedescalation/headlamp-polaris-plugin/releases/download/v0.3.10/polaris-0.3.10.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
Or install via the Headlamp UI:
|
|
||||||
|
|
||||||
1. Go to **Settings → Plugins**
|
|
||||||
2. Click **Catalog** tab
|
|
||||||
3. Search for "Polaris"
|
|
||||||
4. Click **Install**
|
|
||||||
|
|
||||||
### Option 2: Sidecar Container (Alternative)
|
|
||||||
|
|
||||||
For detailed sidecar installation instructions, see [docs/DEPLOYMENT.md#installation-method-2-sidecar-container](docs/DEPLOYMENT.md#installation-method-2-sidecar-container).
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
sidecars:
|
|
||||||
- name: headlamp-plugin
|
|
||||||
image: node:lts-alpine
|
|
||||||
command: ['/bin/sh']
|
|
||||||
args:
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
npm install -g @kinvolk/headlamp-plugin
|
|
||||||
headlamp-plugin install --config /config/plugin.yml
|
|
||||||
tail -f /dev/null
|
|
||||||
volumeMounts:
|
|
||||||
- name: plugins
|
|
||||||
mountPath: /headlamp/plugins
|
|
||||||
- name: plugin-config
|
|
||||||
mountPath: /config
|
|
||||||
```
|
|
||||||
|
|
||||||
### Option 3: Manual Tarball Install
|
|
||||||
|
|
||||||
Download the `.tar.gz` from the [GitHub releases page](https://github.com/privilegedescalation/headlamp-polaris-plugin/releases), then extract into Headlamp's plugin directory:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
wget https://github.com/privilegedescalation/headlamp-polaris-plugin/releases/download/v0.3.10/polaris-0.3.10.tar.gz
|
|
||||||
tar xzf polaris-0.3.10.tar.gz -C /headlamp/plugins/
|
|
||||||
```
|
|
||||||
|
|
||||||
### Option 4: Build from Source
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/privilegedescalation/headlamp-polaris-plugin.git
|
|
||||||
cd headlamp-polaris-plugin
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
npx @kinvolk/headlamp-plugin extract . /headlamp/plugins
|
|
||||||
```
|
|
||||||
|
|
||||||
For complete installation instructions including Helm integration, FluxCD examples, and production deployment checklist, see **[docs/DEPLOYMENT.md](docs/DEPLOYMENT.md)**.
|
|
||||||
|
|
||||||
## RBAC / Security Setup
|
## RBAC / Security Setup
|
||||||
|
|
||||||
The plugin fetches audit data through the Kubernetes API server's **service proxy** sub-resource. The identity making the request (Headlamp's service account, or the user's own token in token-auth mode) must be granted:
|
The plugin fetches audit data through the Kubernetes API server's **service proxy** sub-resource. The identity making the request (Headlamp's service account, or the user's own token in token-auth mode) must be granted:
|
||||||
|
|||||||
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
version: "0.7.0"
|
version: "0.7.2"
|
||||||
name: headlamp-polaris
|
name: headlamp-polaris
|
||||||
displayName: Polaris
|
displayName: Polaris
|
||||||
createdAt: "2026-02-05T19:00:00Z"
|
createdAt: "2026-02-05T19:00:00Z"
|
||||||
@@ -28,7 +28,7 @@ maintainers:
|
|||||||
- name: privilegedescalation
|
- name: privilegedescalation
|
||||||
email: "chris@farhood.org"
|
email: "chris@farhood.org"
|
||||||
annotations:
|
annotations:
|
||||||
headlamp/plugin/archive-url: "https://github.com/privilegedescalation/headlamp-polaris-plugin/releases/download/v0.7.0/headlamp-polaris-0.7.0.tar.gz"
|
headlamp/plugin/archive-url: "https://github.com/privilegedescalation/headlamp-polaris-plugin/releases/download/v0.7.2/headlamp-polaris-0.7.2.tar.gz"
|
||||||
headlamp/plugin/version-compat: ">=0.26"
|
headlamp/plugin/version-compat: ">=0.26"
|
||||||
headlamp/plugin/archive-checksum: sha256:c271590b71424b7f3e70e51309074f64531bb55063fcd9b8c18663579916cb97
|
headlamp/plugin/archive-checksum: sha256:ce75449a05d3d3dd3c546db36a2257fae3e4601e466108182e64310a1a4f6d71
|
||||||
headlamp/plugin/distro-compat: in-cluster
|
headlamp/plugin/distro-compat: in-cluster
|
||||||
|
|||||||
@@ -0,0 +1,59 @@
|
|||||||
|
---
|
||||||
|
# RBAC for the GitHub Actions CI runner to perform E2E test setup.
|
||||||
|
# CI-only test fixture — NOT for production use.
|
||||||
|
#
|
||||||
|
# Grants the ARC runner service account namespace-scoped permissions in
|
||||||
|
# kube-system to patch the Headlamp deployment (add shared volume mount),
|
||||||
|
# manage PVCs, run temporary pods, and restart deployments.
|
||||||
|
#
|
||||||
|
# No cluster-scoped permissions needed — the E2E workflow uses kubectl patch
|
||||||
|
# instead of helm upgrade, avoiding the need to read ClusterRole/ClusterRoleBinding.
|
||||||
|
#
|
||||||
|
# Apply with: kubectl apply -f deployment/e2e-ci-runner-rbac.yaml
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
name: e2e-ci-runner
|
||||||
|
namespace: kube-system
|
||||||
|
rules:
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["persistentvolumeclaims"]
|
||||||
|
verbs: ["get", "list", "create", "update", "patch", "delete"]
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["pods"]
|
||||||
|
verbs: ["get", "list", "create", "delete", "watch"]
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["pods/attach"]
|
||||||
|
verbs: ["create", "get"]
|
||||||
|
- apiGroups: ["apps"]
|
||||||
|
resources: ["deployments"]
|
||||||
|
verbs: ["get", "list", "patch", "watch"]
|
||||||
|
- apiGroups: ["apps"]
|
||||||
|
resources: ["deployments/scale"]
|
||||||
|
verbs: ["patch"]
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["secrets"]
|
||||||
|
verbs: ["get", "list", "create", "update", "patch", "delete"]
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["configmaps"]
|
||||||
|
verbs: ["get", "list", "create", "update", "patch", "delete"]
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["services"]
|
||||||
|
verbs: ["get", "list", "create", "update", "patch", "delete"]
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["serviceaccounts"]
|
||||||
|
verbs: ["get", "list"]
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: e2e-ci-runner-binding
|
||||||
|
namespace: kube-system
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: local-ubuntu-latest-gha-rs-no-permission
|
||||||
|
namespace: arc-runners
|
||||||
|
roleRef:
|
||||||
|
kind: Role
|
||||||
|
name: e2e-ci-runner
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
# Headlamp Helm values for E2E testing with shared volume plugin deployment.
|
||||||
|
#
|
||||||
|
# The CI runner and Headlamp pod share a PVC so that the runner can copy
|
||||||
|
# built plugin artifacts directly into Headlamp's plugins directory.
|
||||||
|
# This is a CI-only mechanism — production plugin distribution uses ArtifactHub.
|
||||||
|
|
||||||
|
# Point Headlamp at the shared plugins mount
|
||||||
|
config:
|
||||||
|
pluginsDir: /headlamp/plugins
|
||||||
|
|
||||||
|
# PVC-backed volume shared with the CI runner
|
||||||
|
volumes:
|
||||||
|
- name: plugins
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: headlamp-plugins
|
||||||
|
|
||||||
|
# Mount into the Headlamp container
|
||||||
|
volumeMounts:
|
||||||
|
- name: plugins
|
||||||
|
mountPath: /headlamp/plugins
|
||||||
|
readOnly: true
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
# PVC for sharing built plugin artifacts between the CI runner and Headlamp.
|
||||||
|
# Used only in E2E test environments — not for production.
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: headlamp-plugins
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 128Mi
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
---
|
|
||||||
# Custom Headlamp values for static plugin installation
|
|
||||||
# This disables the plugin manager and uses an init container instead
|
|
||||||
|
|
||||||
# Disable the plugin manager sidecar
|
|
||||||
pluginsManager:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
# Use an init container to install plugins to /headlamp/static-plugins
|
|
||||||
initContainers:
|
|
||||||
- name: install-plugins
|
|
||||||
image: node:lts-alpine
|
|
||||||
command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
set -e
|
|
||||||
echo "Installing plugins to /headlamp/static-plugins..."
|
|
||||||
|
|
||||||
# Create plugins directory
|
|
||||||
mkdir -p /headlamp/static-plugins
|
|
||||||
|
|
||||||
# Set up npm cache
|
|
||||||
export NPM_CONFIG_CACHE=/tmp/npm-cache
|
|
||||||
export NPM_CONFIG_USERCONFIG=/tmp/npm-userconfig
|
|
||||||
mkdir -p /tmp/npm-cache /tmp/npm-userconfig
|
|
||||||
|
|
||||||
# Install polaris plugin
|
|
||||||
echo "Installing polaris plugin..."
|
|
||||||
cd /headlamp/static-plugins
|
|
||||||
npm pack headlamp-polaris-plugin@0.3.0
|
|
||||||
tar -xzf headlamp-polaris-plugin-0.3.0.tgz
|
|
||||||
mv package headlamp-polaris-plugin
|
|
||||||
rm headlamp-polaris-plugin-0.3.0.tgz
|
|
||||||
|
|
||||||
# Install other plugins
|
|
||||||
npx --yes @headlamp-k8s/plugin@latest install \
|
|
||||||
--source https://artifacthub.io/packages/headlamp/headlamp-plugins/headlamp_flux \
|
|
||||||
--folderName /headlamp/static-plugins
|
|
||||||
|
|
||||||
npx --yes @headlamp-k8s/plugin@latest install \
|
|
||||||
--source https://artifacthub.io/packages/headlamp/headlamp-trivy/headlamp_trivy \
|
|
||||||
--folderName /headlamp/static-plugins
|
|
||||||
|
|
||||||
npx --yes @headlamp-k8s/plugin@latest install \
|
|
||||||
--source https://artifacthub.io/packages/headlamp/headlamp-plugins/headlamp_cert-manager \
|
|
||||||
--folderName /headlamp/static-plugins
|
|
||||||
|
|
||||||
npx --yes @headlamp-k8s/plugin@latest install \
|
|
||||||
--source https://artifacthub.io/packages/headlamp/headlamp-plugins/headlamp_ai_assistant \
|
|
||||||
--folderName /headlamp/static-plugins
|
|
||||||
|
|
||||||
echo "All plugins installed successfully"
|
|
||||||
ls -la /headlamp/static-plugins
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 100
|
|
||||||
runAsGroup: 101
|
|
||||||
runAsNonRoot: true
|
|
||||||
privileged: false
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 256Mi
|
|
||||||
limits:
|
|
||||||
memory: 512Mi
|
|
||||||
volumeMounts:
|
|
||||||
- name: static-plugins
|
|
||||||
mountPath: /headlamp/static-plugins
|
|
||||||
|
|
||||||
# Configure headlamp to use static plugins
|
|
||||||
config:
|
|
||||||
pluginsDir: /headlamp/static-plugins
|
|
||||||
|
|
||||||
# Add volume for static plugins
|
|
||||||
volumes:
|
|
||||||
- name: static-plugins
|
|
||||||
emptyDir: {}
|
|
||||||
|
|
||||||
# Add volume mount to main container
|
|
||||||
volumeMounts:
|
|
||||||
- name: static-plugins
|
|
||||||
mountPath: /headlamp/static-plugins
|
|
||||||
readOnly: true
|
|
||||||
@@ -19,7 +19,7 @@ Helm provides the easiest way to deploy and manage the plugin in production. Thi
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Add Headlamp Helm repository
|
# Add Headlamp Helm repository
|
||||||
helm repo add headlamp https://headlamp-k8s.github.io/headlamp/
|
helm repo add headlamp https://kubernetes-sigs.github.io/headlamp/
|
||||||
helm repo update
|
helm repo update
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -210,7 +210,7 @@ metadata:
|
|||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 1h
|
interval: 1h
|
||||||
url: https://headlamp-k8s.github.io/headlamp/
|
url: https://kubernetes-sigs.github.io/headlamp/
|
||||||
```
|
```
|
||||||
|
|
||||||
### HelmRelease
|
### HelmRelease
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ kubectl -n kube-system get deployment headlamp -o jsonpath='{.spec.template.spec
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Add Headlamp Helm repository
|
# Add Headlamp Helm repository
|
||||||
helm repo add headlamp https://headlamp-k8s.github.io/headlamp/
|
helm repo add headlamp https://kubernetes-sigs.github.io/headlamp/
|
||||||
helm repo update
|
helm repo update
|
||||||
|
|
||||||
# Install Headlamp
|
# Install Headlamp
|
||||||
|
|||||||
+6
-10
@@ -47,16 +47,12 @@ test.describe('Polaris app bar badge', () => {
|
|||||||
window.getComputedStyle(el).backgroundColor
|
window.getComputedStyle(el).backgroundColor
|
||||||
);
|
);
|
||||||
|
|
||||||
if (score >= 80) {
|
// Verify that the badge has a non-default background color applied
|
||||||
// Green: rgb(76, 175, 80) or #4caf50
|
// (theme-dependent RGB values vary across Headlamp versions, so we
|
||||||
expect(bgColor).toMatch(/rgb\(76,\s*175,\s*80\)/);
|
// only assert that a real color is set rather than transparent/default)
|
||||||
} else if (score >= 50) {
|
expect(bgColor).not.toBe('rgba(0, 0, 0, 0)');
|
||||||
// Orange: rgb(255, 152, 0) or #ff9800
|
expect(bgColor).not.toBe('transparent');
|
||||||
expect(bgColor).toMatch(/rgb\(255,\s*152,\s*0\)/);
|
expect(bgColor).toMatch(/^rgb/);
|
||||||
} else {
|
|
||||||
// Red: rgb(244, 67, 54) or #f44336
|
|
||||||
expect(bgColor).toMatch(/rgb\(244,\s*67,\s*54\)/);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('badge updates when navigating between clusters', async ({ page }) => {
|
test('badge updates when navigating between clusters', async ({ page }) => {
|
||||||
|
|||||||
+13
-4
@@ -12,12 +12,21 @@ async function authenticateWithOIDC(page: Page, username: string, password: stri
|
|||||||
await page.getByRole('button', { name: /sign in/i }).click();
|
await page.getByRole('button', { name: /sign in/i }).click();
|
||||||
const popup = await popupPromise;
|
const popup = await popupPromise;
|
||||||
|
|
||||||
// Authentik step 1: fill username
|
// Wait for the Authentik popup to fully load before interacting
|
||||||
await popup.getByRole('textbox', { name: /email or username/i }).fill(username);
|
await popup.waitForLoadState('domcontentloaded');
|
||||||
|
await popup.waitForLoadState('networkidle');
|
||||||
|
|
||||||
|
// Authentik step 1: fill username — wait for the form to render
|
||||||
|
const usernameField = popup.getByRole('textbox', { name: /email or username/i });
|
||||||
|
await usernameField.waitFor({ state: 'visible', timeout: 15_000 });
|
||||||
|
await usernameField.fill(username);
|
||||||
await popup.getByRole('button', { name: /log in/i }).click();
|
await popup.getByRole('button', { name: /log in/i }).click();
|
||||||
|
|
||||||
// Authentik step 2: fill password
|
// Authentik step 2: fill password — wait for the next step to load
|
||||||
await popup.getByRole('textbox', { name: /password/i }).fill(password);
|
await popup.waitForLoadState('networkidle');
|
||||||
|
const passwordField = popup.getByRole('textbox', { name: /password/i });
|
||||||
|
await passwordField.waitFor({ state: 'visible', timeout: 15_000 });
|
||||||
|
await passwordField.fill(password);
|
||||||
await popup.getByRole('button', { name: /continue|log in/i }).click();
|
await popup.getByRole('button', { name: /continue|log in/i }).click();
|
||||||
|
|
||||||
// Wait for the popup to close (Authentik redirects back, Headlamp processes callback)
|
// Wait for the popup to close (Authentik redirects back, Headlamp processes callback)
|
||||||
|
|||||||
+2
-2
@@ -17,7 +17,7 @@ test.describe('Polaris plugin smoke tests', () => {
|
|||||||
|
|
||||||
// "Cluster Score" section exists with a percentage
|
// "Cluster Score" section exists with a percentage
|
||||||
await expect(page.getByText('Cluster Score')).toBeVisible();
|
await expect(page.getByText('Cluster Score')).toBeVisible();
|
||||||
await expect(page.getByText(/%/)).toBeVisible();
|
await expect(page.locator('main').getByText(/%/).first()).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('namespaces page renders table with namespace buttons', async ({ page }) => {
|
test('namespaces page renders table with namespace buttons', async ({ page }) => {
|
||||||
@@ -55,7 +55,7 @@ test.describe('Polaris plugin smoke tests', () => {
|
|||||||
await expect(page.getByText('Namespace Score')).toBeVisible();
|
await expect(page.getByText('Namespace Score')).toBeVisible();
|
||||||
|
|
||||||
// Resources table should exist in drawer
|
// Resources table should exist in drawer
|
||||||
await expect(page.getByText('Resources')).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Resources' })).toBeVisible();
|
||||||
|
|
||||||
// URL hash should be updated with namespace name
|
// URL hash should be updated with namespace name
|
||||||
await expect(page).toHaveURL(/\/polaris\/namespaces#/);
|
await expect(page).toHaveURL(/\/polaris\/namespaces#/);
|
||||||
|
|||||||
+27
-25
@@ -1,23 +1,34 @@
|
|||||||
import { test, expect } from '@playwright/test';
|
import { test, expect, Page } from '@playwright/test';
|
||||||
|
|
||||||
|
/** Navigate to the Polaris plugin settings page and wait for settings to render. */
|
||||||
|
async function goToPolarisSettings(page: Page) {
|
||||||
|
// Headlamp's plugin settings page is a HOME-context route at /settings/plugins,
|
||||||
|
// not an in-cluster route (/c/main/settings/plugins would 404). Headlamp loads
|
||||||
|
// plugin scripts asynchronously on SPA init. When registerPluginSettings() fires,
|
||||||
|
// it dispatches a Redux action — PluginSettings uses useTypedSelector so it
|
||||||
|
// re-renders automatically once the plugin registers. No preloading needed.
|
||||||
|
await page.goto('/settings/plugins');
|
||||||
|
|
||||||
|
// Wait for the plugin to appear in the settings list. The timeout covers
|
||||||
|
// async plugin script loading + registration.
|
||||||
|
const pluginEntry = page.locator('text=headlamp-polaris').first();
|
||||||
|
await expect(pluginEntry).toBeVisible({ timeout: 30_000 });
|
||||||
|
await pluginEntry.click();
|
||||||
|
|
||||||
|
// Wait for the PolarisSettings component to render
|
||||||
|
await expect(page.getByText('Polaris Settings')).toBeVisible({ timeout: 15_000 });
|
||||||
|
}
|
||||||
|
|
||||||
test.describe('Polaris plugin settings', () => {
|
test.describe('Polaris plugin settings', () => {
|
||||||
test('settings page shows configuration options', async ({ page }) => {
|
test('settings page shows configuration options', async ({ page }) => {
|
||||||
await page.goto('/c/main/settings/plugins');
|
await goToPolarisSettings(page);
|
||||||
|
|
||||||
// Find Polaris plugin in the list
|
// SectionBox title should be visible
|
||||||
const pluginCard = page.locator('text=polaris').first();
|
await expect(page.getByText('Polaris Settings')).toBeVisible();
|
||||||
await expect(pluginCard).toBeVisible();
|
|
||||||
|
|
||||||
// Click to view settings (if settings are displayed inline, they should already be visible)
|
|
||||||
// Note: Headlamp v0.39.0+ shows settings inline on the plugins page
|
|
||||||
await expect(page.getByText('Polaris Settings')).toBeVisible({ timeout: 15_000 });
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('refresh interval setting is configurable', async ({ page }) => {
|
test('refresh interval setting is configurable', async ({ page }) => {
|
||||||
await page.goto('/c/main/settings/plugins');
|
await goToPolarisSettings(page);
|
||||||
|
|
||||||
// Navigate to Polaris settings
|
|
||||||
await expect(page.getByText('Polaris Settings')).toBeVisible({ timeout: 15_000 });
|
|
||||||
|
|
||||||
// Find the refresh interval dropdown
|
// Find the refresh interval dropdown
|
||||||
const intervalSelect = page.locator('select').filter({ hasText: /minute|second/ });
|
const intervalSelect = page.locator('select').filter({ hasText: /minute|second/ });
|
||||||
@@ -35,10 +46,7 @@ test.describe('Polaris plugin settings', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('dashboard URL setting is configurable', async ({ page }) => {
|
test('dashboard URL setting is configurable', async ({ page }) => {
|
||||||
await page.goto('/c/main/settings/plugins');
|
await goToPolarisSettings(page);
|
||||||
|
|
||||||
// Navigate to Polaris settings
|
|
||||||
await expect(page.getByText('Polaris Settings')).toBeVisible({ timeout: 15_000 });
|
|
||||||
|
|
||||||
// Find the dashboard URL input
|
// Find the dashboard URL input
|
||||||
const urlInput = page.getByPlaceholder(/polaris-dashboard/);
|
const urlInput = page.getByPlaceholder(/polaris-dashboard/);
|
||||||
@@ -54,10 +62,7 @@ test.describe('Polaris plugin settings', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('connection test button is available', async ({ page }) => {
|
test('connection test button is available', async ({ page }) => {
|
||||||
await page.goto('/c/main/settings/plugins');
|
await goToPolarisSettings(page);
|
||||||
|
|
||||||
// Navigate to Polaris settings
|
|
||||||
await expect(page.getByText('Polaris Settings')).toBeVisible({ timeout: 15_000 });
|
|
||||||
|
|
||||||
// Find and verify test connection button
|
// Find and verify test connection button
|
||||||
const testButton = page.getByRole('button', { name: /test connection/i });
|
const testButton = page.getByRole('button', { name: /test connection/i });
|
||||||
@@ -66,10 +71,7 @@ test.describe('Polaris plugin settings', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('connection test works with valid URL', async ({ page }) => {
|
test('connection test works with valid URL', async ({ page }) => {
|
||||||
await page.goto('/c/main/settings/plugins');
|
await goToPolarisSettings(page);
|
||||||
|
|
||||||
// Navigate to Polaris settings
|
|
||||||
await expect(page.getByText('Polaris Settings')).toBeVisible({ timeout: 15_000 });
|
|
||||||
|
|
||||||
// Click test connection
|
// Click test connection
|
||||||
const testButton = page.getByRole('button', { name: /test connection/i });
|
const testButton = page.getByRole('button', { name: /test connection/i });
|
||||||
|
|||||||
Generated
+891
-555
File diff suppressed because it is too large
Load Diff
+9
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "headlamp-polaris",
|
"name": "headlamp-polaris",
|
||||||
"version": "0.7.0",
|
"version": "0.7.2",
|
||||||
"description": "Headlamp plugin for Fairwinds Polaris audit results",
|
"description": "Headlamp plugin for Fairwinds Polaris audit results",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -30,6 +30,10 @@
|
|||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"react-dom": "^18.0.0"
|
"react-dom": "^18.0.0"
|
||||||
},
|
},
|
||||||
|
"overrides": {
|
||||||
|
"tar": "^7.5.11",
|
||||||
|
"undici": "^7.24.3"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@kinvolk/headlamp-plugin": "^0.13.0",
|
"@kinvolk/headlamp-plugin": "^0.13.0",
|
||||||
"@mui/material": "^5.15.14",
|
"@mui/material": "^5.15.14",
|
||||||
@@ -37,10 +41,14 @@
|
|||||||
"@testing-library/jest-dom": "^6.4.8",
|
"@testing-library/jest-dom": "^6.4.8",
|
||||||
"@testing-library/react": "^16.0.0",
|
"@testing-library/react": "^16.0.0",
|
||||||
"@testing-library/user-event": "^14.5.2",
|
"@testing-library/user-event": "^14.5.2",
|
||||||
|
"@types/react": "^19.2.14",
|
||||||
|
"@types/react-dom": "^19.2.3",
|
||||||
"jsdom": "^24.0.0",
|
"jsdom": "^24.0.0",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
"react-router-dom": "^5.3.0",
|
"react-router-dom": "^5.3.0",
|
||||||
|
"tar": "^7.5.11",
|
||||||
|
"undici": "^7.24.3",
|
||||||
"vitest": "^3.0.5"
|
"vitest": "^3.0.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,9 +11,10 @@ export default defineConfig({
|
|||||||
use: {
|
use: {
|
||||||
baseURL: process.env.HEADLAMP_URL || 'https://headlamp.animaniacs.farh.net',
|
baseURL: process.env.HEADLAMP_URL || 'https://headlamp.animaniacs.farh.net',
|
||||||
trace: 'on-first-retry',
|
trace: 'on-first-retry',
|
||||||
|
screenshot: 'only-on-failure',
|
||||||
},
|
},
|
||||||
projects: [
|
projects: [
|
||||||
{ name: 'setup', testMatch: /auth\.setup\.ts/ },
|
{ name: 'setup', testMatch: /auth\.setup\.ts/, timeout: 60_000 },
|
||||||
{
|
{
|
||||||
name: 'chromium',
|
name: 'chromium',
|
||||||
use: {
|
use: {
|
||||||
|
|||||||
Generated
+135
-37
@@ -13,7 +13,7 @@ importers:
|
|||||||
version: 0.13.1(@swc/core@1.15.18)(@types/debug@4.1.12)(@typescript-eslint/parser@8.56.1(eslint@8.57.1)(typescript@5.6.2))(csstype@3.2.3)(esbuild@0.25.12)(immer@11.1.4)(openapi-types@12.1.3)(redux@5.0.1)(rollup@4.59.0)(terser@5.46.0)(webpack@5.105.4(@swc/core@1.15.18)(esbuild@0.25.12))
|
version: 0.13.1(@swc/core@1.15.18)(@types/debug@4.1.12)(@typescript-eslint/parser@8.56.1(eslint@8.57.1)(typescript@5.6.2))(csstype@3.2.3)(esbuild@0.25.12)(immer@11.1.4)(openapi-types@12.1.3)(redux@5.0.1)(rollup@4.59.0)(terser@5.46.0)(webpack@5.105.4(@swc/core@1.15.18)(esbuild@0.25.12))
|
||||||
'@mui/material':
|
'@mui/material':
|
||||||
specifier: ^5.15.14
|
specifier: ^5.15.14
|
||||||
version: 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
version: 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@playwright/test':
|
'@playwright/test':
|
||||||
specifier: ^1.58.2
|
specifier: ^1.58.2
|
||||||
version: 1.58.2
|
version: 1.58.2
|
||||||
@@ -22,10 +22,16 @@ importers:
|
|||||||
version: 6.9.1
|
version: 6.9.1
|
||||||
'@testing-library/react':
|
'@testing-library/react':
|
||||||
specifier: ^16.0.0
|
specifier: ^16.0.0
|
||||||
version: 16.3.2(@testing-library/dom@10.4.1)(@types/react-dom@18.3.7(@types/react@18.3.28))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
version: 16.3.2(@testing-library/dom@10.4.1)(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@testing-library/user-event':
|
'@testing-library/user-event':
|
||||||
specifier: ^14.5.2
|
specifier: ^14.5.2
|
||||||
version: 14.6.1(@testing-library/dom@10.4.1)
|
version: 14.6.1(@testing-library/dom@10.4.1)
|
||||||
|
'@types/react':
|
||||||
|
specifier: ^19.2.14
|
||||||
|
version: 19.2.14
|
||||||
|
'@types/react-dom':
|
||||||
|
specifier: ^19.2.3
|
||||||
|
version: 19.2.3(@types/react@19.2.14)
|
||||||
jsdom:
|
jsdom:
|
||||||
specifier: ^24.0.0
|
specifier: ^24.0.0
|
||||||
version: 24.1.3
|
version: 24.1.3
|
||||||
@@ -1465,6 +1471,11 @@ packages:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/react': ^18.0.0
|
'@types/react': ^18.0.0
|
||||||
|
|
||||||
|
'@types/react-dom@19.2.3':
|
||||||
|
resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
|
||||||
|
peerDependencies:
|
||||||
|
'@types/react': ^19.2.0
|
||||||
|
|
||||||
'@types/react-redux@7.1.34':
|
'@types/react-redux@7.1.34':
|
||||||
resolution: {integrity: sha512-GdFaVjEbYv4Fthm2ZLvj1VSCedV7TqE5y1kNwnjSdBOTXuRSgowux6J8TAct15T3CKBr63UMk+2CO7ilRhyrAQ==}
|
resolution: {integrity: sha512-GdFaVjEbYv4Fthm2ZLvj1VSCedV7TqE5y1kNwnjSdBOTXuRSgowux6J8TAct15T3CKBr63UMk+2CO7ilRhyrAQ==}
|
||||||
|
|
||||||
@@ -1485,6 +1496,9 @@ packages:
|
|||||||
'@types/react@18.3.28':
|
'@types/react@18.3.28':
|
||||||
resolution: {integrity: sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==}
|
resolution: {integrity: sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==}
|
||||||
|
|
||||||
|
'@types/react@19.2.14':
|
||||||
|
resolution: {integrity: sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==}
|
||||||
|
|
||||||
'@types/resolve@1.20.6':
|
'@types/resolve@1.20.6':
|
||||||
resolution: {integrity: sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==}
|
resolution: {integrity: sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==}
|
||||||
|
|
||||||
@@ -5827,12 +5841,12 @@ snapshots:
|
|||||||
'@iconify/icons-mdi': 1.2.48
|
'@iconify/icons-mdi': 1.2.48
|
||||||
'@iconify/react': 3.2.2(react@18.3.1)
|
'@iconify/react': 3.2.2(react@18.3.1)
|
||||||
'@monaco-editor/react': 4.7.0(monaco-editor@0.52.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@monaco-editor/react': 4.7.0(monaco-editor@0.52.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/icons-material': 5.18.0(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@mui/icons-material': 5.18.0(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@19.2.14)(react@18.3.1)
|
||||||
'@mui/lab': 5.0.0-alpha.177(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/lab': 5.0.0-alpha.177(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@mui/x-date-pickers': 7.29.4(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/x-date-pickers': 7.29.4(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/x-tree-view': 6.17.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/x-tree-view': 6.17.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@reduxjs/toolkit': 2.11.2(react-redux@9.2.0(@types/react@18.3.28)(react@18.3.1)(redux@5.0.1))(react@18.3.1)
|
'@reduxjs/toolkit': 2.11.2(react-redux@9.2.0(@types/react@18.3.28)(react@18.3.1)(redux@5.0.1))(react@18.3.1)
|
||||||
'@storybook/addon-docs': 9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.1(@types/node@20.19.37)(terser@5.46.0)(yaml@2.8.2)))
|
'@storybook/addon-docs': 9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.1(@types/node@20.19.37)(terser@5.46.0)(yaml@2.8.2)))
|
||||||
'@storybook/addon-links': 9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.1(@types/node@20.19.37)(terser@5.46.0)(yaml@2.8.2)))
|
'@storybook/addon-links': 9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.2))(prettier@2.8.8)(vite@6.4.1(@types/node@20.19.37)(terser@5.46.0)(yaml@2.8.2)))
|
||||||
@@ -5886,7 +5900,7 @@ snapshots:
|
|||||||
jsdom: 24.1.3
|
jsdom: 24.1.3
|
||||||
jsonpath-plus: 10.4.0
|
jsonpath-plus: 10.4.0
|
||||||
lodash: 4.17.23
|
lodash: 4.17.23
|
||||||
material-react-table: 2.13.3(93149b7a28d7dcf9399e2d03ebc8c990)
|
material-react-table: 2.13.3(9c8771ba98ea800c4ce3ae047fad2581)
|
||||||
monaco-editor: 0.52.2
|
monaco-editor: 0.52.2
|
||||||
msw: 2.4.9(typescript@5.6.2)
|
msw: 2.4.9(typescript@5.6.2)
|
||||||
msw-storybook-addon: 2.0.3(msw@2.4.9(typescript@5.6.2))
|
msw-storybook-addon: 2.0.3(msw@2.4.9(typescript@5.6.2))
|
||||||
@@ -6024,20 +6038,20 @@ snapshots:
|
|||||||
|
|
||||||
'@mui/core-downloads-tracker@5.18.0': {}
|
'@mui/core-downloads-tracker@5.18.0': {}
|
||||||
|
|
||||||
'@mui/icons-material@5.18.0(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)':
|
'@mui/icons-material@5.18.0(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@19.2.14)(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
react: 18.3.1
|
react: 18.3.1
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/react': 18.3.28
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
'@mui/lab@5.0.0-alpha.177(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
'@mui/lab@5.0.0-alpha.177(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
'@mui/base': 5.0.0-beta.40-1(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/base': 5.0.0-beta.40-1(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@mui/types': 7.2.24(@types/react@18.3.28)
|
'@mui/types': 7.2.24(@types/react@18.3.28)
|
||||||
'@mui/utils': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
'@mui/utils': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
||||||
clsx: 2.1.1
|
clsx: 2.1.1
|
||||||
@@ -6049,11 +6063,11 @@ snapshots:
|
|||||||
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
|
|
||||||
'@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
'@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
'@mui/core-downloads-tracker': 5.18.0
|
'@mui/core-downloads-tracker': 5.18.0
|
||||||
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@mui/types': 7.2.24(@types/react@18.3.28)
|
'@mui/types': 7.2.24(@types/react@18.3.28)
|
||||||
'@mui/utils': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
'@mui/utils': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@popperjs/core': 2.11.8
|
'@popperjs/core': 2.11.8
|
||||||
@@ -6070,6 +6084,27 @@ snapshots:
|
|||||||
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
|
|
||||||
|
'@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||||
|
dependencies:
|
||||||
|
'@babel/runtime': 7.28.6
|
||||||
|
'@mui/core-downloads-tracker': 5.18.0
|
||||||
|
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1)
|
||||||
|
'@mui/types': 7.2.24(@types/react@19.2.14)
|
||||||
|
'@mui/utils': 5.17.1(@types/react@19.2.14)(react@18.3.1)
|
||||||
|
'@popperjs/core': 2.11.8
|
||||||
|
'@types/react-transition-group': 4.4.12(@types/react@19.2.14)
|
||||||
|
clsx: 2.1.1
|
||||||
|
csstype: 3.2.3
|
||||||
|
prop-types: 15.8.1
|
||||||
|
react: 18.3.1
|
||||||
|
react-dom: 18.3.1(react@18.3.1)
|
||||||
|
react-is: 19.2.4
|
||||||
|
react-transition-group: 4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
|
optionalDependencies:
|
||||||
|
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
|
||||||
|
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
'@mui/private-theming@5.17.1(@types/react@18.3.28)(react@18.3.1)':
|
'@mui/private-theming@5.17.1(@types/react@18.3.28)(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
@@ -6079,7 +6114,16 @@ snapshots:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
|
|
||||||
'@mui/styled-engine@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(react@18.3.1)':
|
'@mui/private-theming@5.17.1(@types/react@19.2.14)(react@18.3.1)':
|
||||||
|
dependencies:
|
||||||
|
'@babel/runtime': 7.28.6
|
||||||
|
'@mui/utils': 5.17.1(@types/react@19.2.14)(react@18.3.1)
|
||||||
|
prop-types: 15.8.1
|
||||||
|
react: 18.3.1
|
||||||
|
optionalDependencies:
|
||||||
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
|
'@mui/styled-engine@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
'@emotion/cache': 11.14.0
|
'@emotion/cache': 11.14.0
|
||||||
@@ -6091,11 +6135,11 @@ snapshots:
|
|||||||
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
|
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
|
|
||||||
'@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)':
|
'@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
'@mui/private-theming': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
'@mui/private-theming': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@mui/styled-engine': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(react@18.3.1)
|
'@mui/styled-engine': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/types': 7.2.24(@types/react@18.3.28)
|
'@mui/types': 7.2.24(@types/react@18.3.28)
|
||||||
'@mui/utils': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
'@mui/utils': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
||||||
clsx: 2.1.1
|
clsx: 2.1.1
|
||||||
@@ -6107,10 +6151,30 @@ snapshots:
|
|||||||
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
|
|
||||||
|
'@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1)':
|
||||||
|
dependencies:
|
||||||
|
'@babel/runtime': 7.28.6
|
||||||
|
'@mui/private-theming': 5.17.1(@types/react@19.2.14)(react@18.3.1)
|
||||||
|
'@mui/styled-engine': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(react@18.3.1)
|
||||||
|
'@mui/types': 7.2.24(@types/react@19.2.14)
|
||||||
|
'@mui/utils': 5.17.1(@types/react@19.2.14)(react@18.3.1)
|
||||||
|
clsx: 2.1.1
|
||||||
|
csstype: 3.2.3
|
||||||
|
prop-types: 15.8.1
|
||||||
|
react: 18.3.1
|
||||||
|
optionalDependencies:
|
||||||
|
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
|
||||||
|
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
'@mui/types@7.2.24(@types/react@18.3.28)':
|
'@mui/types@7.2.24(@types/react@18.3.28)':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
|
|
||||||
|
'@mui/types@7.2.24(@types/react@19.2.14)':
|
||||||
|
optionalDependencies:
|
||||||
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
'@mui/types@7.4.12(@types/react@18.3.28)':
|
'@mui/types@7.4.12(@types/react@18.3.28)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
@@ -6129,6 +6193,18 @@ snapshots:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
|
|
||||||
|
'@mui/utils@5.17.1(@types/react@19.2.14)(react@18.3.1)':
|
||||||
|
dependencies:
|
||||||
|
'@babel/runtime': 7.28.6
|
||||||
|
'@mui/types': 7.2.24(@types/react@19.2.14)
|
||||||
|
'@types/prop-types': 15.7.15
|
||||||
|
clsx: 2.1.1
|
||||||
|
prop-types: 15.8.1
|
||||||
|
react: 18.3.1
|
||||||
|
react-is: 19.2.4
|
||||||
|
optionalDependencies:
|
||||||
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
'@mui/utils@6.4.9(@types/react@18.3.28)(react@18.3.1)':
|
'@mui/utils@6.4.9(@types/react@18.3.28)(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
@@ -6153,11 +6229,11 @@ snapshots:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
|
|
||||||
'@mui/x-date-pickers@7.29.4(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
'@mui/x-date-pickers@7.29.4(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@mui/utils': 7.3.9(@types/react@18.3.28)(react@18.3.1)
|
'@mui/utils': 7.3.9(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@mui/x-internals': 7.29.0(@types/react@18.3.28)(react@18.3.1)
|
'@mui/x-internals': 7.29.0(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@types/react-transition-group': 4.4.12(@types/react@18.3.28)
|
'@types/react-transition-group': 4.4.12(@types/react@18.3.28)
|
||||||
@@ -6180,14 +6256,14 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@types/react'
|
- '@types/react'
|
||||||
|
|
||||||
'@mui/x-tree-view@6.17.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
'@mui/x-tree-view@6.17.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/runtime': 7.28.6
|
'@babel/runtime': 7.28.6
|
||||||
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
|
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@mui/base': 5.0.0-beta.70(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/base': 5.0.0-beta.70(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@mui/system': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@mui/utils': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
'@mui/utils': 5.17.1(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@types/react-transition-group': 4.4.12(@types/react@18.3.28)
|
'@types/react-transition-group': 4.4.12(@types/react@18.3.28)
|
||||||
clsx: 2.1.1
|
clsx: 2.1.1
|
||||||
@@ -6689,6 +6765,16 @@ snapshots:
|
|||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
'@types/react-dom': 18.3.7(@types/react@18.3.28)
|
'@types/react-dom': 18.3.7(@types/react@18.3.28)
|
||||||
|
|
||||||
|
'@testing-library/react@16.3.2(@testing-library/dom@10.4.1)(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||||
|
dependencies:
|
||||||
|
'@babel/runtime': 7.28.6
|
||||||
|
'@testing-library/dom': 10.4.1
|
||||||
|
react: 18.3.1
|
||||||
|
react-dom: 18.3.1(react@18.3.1)
|
||||||
|
optionalDependencies:
|
||||||
|
'@types/react': 19.2.14
|
||||||
|
'@types/react-dom': 19.2.3(@types/react@19.2.14)
|
||||||
|
|
||||||
'@testing-library/user-event@14.6.1(@testing-library/dom@10.4.1)':
|
'@testing-library/user-event@14.6.1(@testing-library/dom@10.4.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@testing-library/dom': 10.4.1
|
'@testing-library/dom': 10.4.1
|
||||||
@@ -6792,9 +6878,9 @@ snapshots:
|
|||||||
|
|
||||||
'@types/history@4.7.11': {}
|
'@types/history@4.7.11': {}
|
||||||
|
|
||||||
'@types/hoist-non-react-statics@3.3.7(@types/react@18.3.28)':
|
'@types/hoist-non-react-statics@3.3.7(@types/react@19.2.14)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/react': 18.3.28
|
'@types/react': 19.2.14
|
||||||
hoist-non-react-statics: 3.3.2
|
hoist-non-react-statics: 3.3.2
|
||||||
|
|
||||||
'@types/html-minifier-terser@6.1.0': {}
|
'@types/html-minifier-terser@6.1.0': {}
|
||||||
@@ -6841,37 +6927,49 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
|
|
||||||
|
'@types/react-dom@19.2.3(@types/react@19.2.14)':
|
||||||
|
dependencies:
|
||||||
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
'@types/react-redux@7.1.34':
|
'@types/react-redux@7.1.34':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/hoist-non-react-statics': 3.3.7(@types/react@18.3.28)
|
'@types/hoist-non-react-statics': 3.3.7(@types/react@19.2.14)
|
||||||
'@types/react': 18.3.28
|
'@types/react': 19.2.14
|
||||||
hoist-non-react-statics: 3.3.2
|
hoist-non-react-statics: 3.3.2
|
||||||
redux: 4.2.1
|
redux: 4.2.1
|
||||||
|
|
||||||
'@types/react-router-dom@5.3.3':
|
'@types/react-router-dom@5.3.3':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/history': 4.7.11
|
'@types/history': 4.7.11
|
||||||
'@types/react': 18.3.28
|
'@types/react': 19.2.14
|
||||||
'@types/react-router': 5.1.20
|
'@types/react-router': 5.1.20
|
||||||
|
|
||||||
'@types/react-router@5.1.20':
|
'@types/react-router@5.1.20':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/history': 4.7.11
|
'@types/history': 4.7.11
|
||||||
'@types/react': 18.3.28
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
'@types/react-transition-group@4.4.12(@types/react@18.3.28)':
|
'@types/react-transition-group@4.4.12(@types/react@18.3.28)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/react': 18.3.28
|
'@types/react': 18.3.28
|
||||||
|
|
||||||
|
'@types/react-transition-group@4.4.12(@types/react@19.2.14)':
|
||||||
|
dependencies:
|
||||||
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
'@types/react-window@1.8.8':
|
'@types/react-window@1.8.8':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/react': 18.3.28
|
'@types/react': 19.2.14
|
||||||
|
|
||||||
'@types/react@18.3.28':
|
'@types/react@18.3.28':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/prop-types': 15.7.15
|
'@types/prop-types': 15.7.15
|
||||||
csstype: 3.2.3
|
csstype: 3.2.3
|
||||||
|
|
||||||
|
'@types/react@19.2.14':
|
||||||
|
dependencies:
|
||||||
|
csstype: 3.2.3
|
||||||
|
|
||||||
'@types/resolve@1.20.6': {}
|
'@types/resolve@1.20.6': {}
|
||||||
|
|
||||||
'@types/semver@7.7.1': {}
|
'@types/semver@7.7.1': {}
|
||||||
@@ -9371,13 +9469,13 @@ snapshots:
|
|||||||
'@types/minimatch': 3.0.5
|
'@types/minimatch': 3.0.5
|
||||||
minimatch: 3.1.5
|
minimatch: 3.1.5
|
||||||
|
|
||||||
material-react-table@2.13.3(93149b7a28d7dcf9399e2d03ebc8c990):
|
material-react-table@2.13.3(9c8771ba98ea800c4ce3ae047fad2581):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
|
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
||||||
'@mui/icons-material': 5.18.0(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
|
'@mui/icons-material': 5.18.0(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@19.2.14)(react@18.3.1)
|
||||||
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/material': 5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@mui/x-date-pickers': 7.29.4(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@mui/x-date-pickers': 7.29.4(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react@18.3.1))(@types/react@19.2.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@tanstack/match-sorter-utils': 8.19.4
|
'@tanstack/match-sorter-utils': 8.19.4
|
||||||
'@tanstack/react-table': 8.20.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@tanstack/react-table': 8.20.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@tanstack/react-virtual': 3.10.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
'@tanstack/react-virtual': 3.10.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
|
|||||||
Executable
+135
@@ -0,0 +1,135 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# deploy-plugin-via-volume.sh
|
||||||
|
#
|
||||||
|
# Copies the built plugin into the shared PVC so Headlamp picks it up.
|
||||||
|
# Uses a temporary Kubernetes Job to write to the PVC — the CI runner
|
||||||
|
# does NOT need the PVC mounted locally.
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
# scripts/deploy-plugin-via-volume.sh
|
||||||
|
#
|
||||||
|
# Environment:
|
||||||
|
# HEADLAMP_NAMESPACE — namespace where Headlamp runs (default: kube-system)
|
||||||
|
# HEADLAMP_DEPLOY — Headlamp deployment name (default: headlamp)
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
|
HEADLAMP_NAMESPACE="${HEADLAMP_NAMESPACE:-kube-system}"
|
||||||
|
HEADLAMP_DEPLOY="${HEADLAMP_DEPLOY:-headlamp}"
|
||||||
|
|
||||||
|
# The deployed directory name must match the package.json name and
|
||||||
|
# the registerPluginSettings name. Headlamp identifies plugins by
|
||||||
|
# reading package.json from each subdirectory of the plugins dir.
|
||||||
|
PLUGIN_DIR_NAME="headlamp-polaris"
|
||||||
|
DIST_DIR="$REPO_ROOT/dist"
|
||||||
|
|
||||||
|
if [ ! -d "$DIST_DIR" ]; then
|
||||||
|
echo "ERROR: dist/ not found. Run 'npm run build' first." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Deploying plugin to shared volume via temporary job..."
|
||||||
|
echo " Source: $DIST_DIR"
|
||||||
|
echo " PVC: headlamp-plugins"
|
||||||
|
echo " Plugin: $PLUGIN_DIR_NAME"
|
||||||
|
|
||||||
|
# Create tarball of plugin dist + package.json
|
||||||
|
TAR_FILE=$(mktemp /tmp/plugin-XXXXXX.tar.gz)
|
||||||
|
tar -czf "$TAR_FILE" -C "$DIST_DIR" . -C "$REPO_ROOT" package.json
|
||||||
|
echo " Tarball: $TAR_FILE ($(du -h "$TAR_FILE" | cut -f1))"
|
||||||
|
|
||||||
|
# Find the node where Headlamp is running — the PVC is ReadWriteOnce so
|
||||||
|
# the deploy job must land on the same node to mount it.
|
||||||
|
HEADLAMP_NODE=$(kubectl get pods -n "$HEADLAMP_NAMESPACE" \
|
||||||
|
-l "app.kubernetes.io/name=headlamp" \
|
||||||
|
-o jsonpath='{.items[0].spec.nodeName}' 2>/dev/null || true)
|
||||||
|
if [ -z "$HEADLAMP_NODE" ]; then
|
||||||
|
HEADLAMP_NODE=$(kubectl get pods -n "$HEADLAMP_NAMESPACE" \
|
||||||
|
-l "app.kubernetes.io/instance=headlamp" \
|
||||||
|
-o jsonpath='{.items[0].spec.nodeName}' 2>/dev/null || true)
|
||||||
|
fi
|
||||||
|
if [ -n "$HEADLAMP_NODE" ]; then
|
||||||
|
echo " Headlamp node: $HEADLAMP_NODE (scheduling deploy job there)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Clean up any previous deploy resources
|
||||||
|
kubectl delete pod plugin-deploy -n "$HEADLAMP_NAMESPACE" --ignore-not-found --wait=true 2>/dev/null || true
|
||||||
|
kubectl delete configmap plugin-tarball -n "$HEADLAMP_NAMESPACE" --ignore-not-found 2>/dev/null || true
|
||||||
|
sleep 2
|
||||||
|
|
||||||
|
# Store the tarball in a ConfigMap (binary-safe via --from-file)
|
||||||
|
echo "Creating ConfigMap with plugin tarball..."
|
||||||
|
kubectl create configmap plugin-tarball \
|
||||||
|
-n "$HEADLAMP_NAMESPACE" \
|
||||||
|
--from-file=plugin.tar.gz="$TAR_FILE"
|
||||||
|
|
||||||
|
# Build the Pod manifest as a temp file to avoid heredoc YAML escaping issues
|
||||||
|
POD_FILE=$(mktemp /tmp/plugin-deploy-pod-XXXXXX.yaml)
|
||||||
|
|
||||||
|
cat > "$POD_FILE" <<'YAMLDOC'
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: plugin-deploy
|
||||||
|
spec:
|
||||||
|
restartPolicy: Never
|
||||||
|
containers:
|
||||||
|
- name: deploy
|
||||||
|
image: busybox:1.36
|
||||||
|
command: ["sh", "-c"]
|
||||||
|
args:
|
||||||
|
- |
|
||||||
|
echo "Cleaning up stale plugin directories..."
|
||||||
|
rm -rf /plugins/polaris /plugins/headlamp-polaris
|
||||||
|
echo "Extracting plugin to shared volume..."
|
||||||
|
mkdir -p /plugins/PLUGIN_DIR_PLACEHOLDER
|
||||||
|
tar -xzf /tarball/plugin.tar.gz -C /plugins/PLUGIN_DIR_PLACEHOLDER
|
||||||
|
echo "Files deployed:"
|
||||||
|
ls -la /plugins/PLUGIN_DIR_PLACEHOLDER/
|
||||||
|
volumeMounts:
|
||||||
|
- name: plugins
|
||||||
|
mountPath: /plugins
|
||||||
|
- name: tarball
|
||||||
|
mountPath: /tarball
|
||||||
|
readOnly: true
|
||||||
|
volumes:
|
||||||
|
- name: plugins
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: headlamp-plugins
|
||||||
|
- name: tarball
|
||||||
|
configMap:
|
||||||
|
name: plugin-tarball
|
||||||
|
YAMLDOC
|
||||||
|
|
||||||
|
# Substitute plugin dir name
|
||||||
|
sed -i "s/PLUGIN_DIR_PLACEHOLDER/${PLUGIN_DIR_NAME}/g" "$POD_FILE"
|
||||||
|
|
||||||
|
# Add nodeName if we know which node Headlamp is on
|
||||||
|
if [ -n "$HEADLAMP_NODE" ]; then
|
||||||
|
sed -i "/restartPolicy: Never/i\\ nodeName: ${HEADLAMP_NODE}" "$POD_FILE"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Starting deploy pod..."
|
||||||
|
kubectl apply -n "$HEADLAMP_NAMESPACE" -f "$POD_FILE"
|
||||||
|
rm -f "$POD_FILE"
|
||||||
|
|
||||||
|
# Wait for the pod to complete (Succeeded phase)
|
||||||
|
echo "Waiting for deploy pod to complete..."
|
||||||
|
kubectl wait --for=jsonpath='{.status.phase}'=Succeeded pod/plugin-deploy \
|
||||||
|
-n "$HEADLAMP_NAMESPACE" --timeout=120s
|
||||||
|
|
||||||
|
# Show logs
|
||||||
|
kubectl logs plugin-deploy -n "$HEADLAMP_NAMESPACE" 2>/dev/null || true
|
||||||
|
|
||||||
|
# Clean up
|
||||||
|
kubectl delete pod plugin-deploy -n "$HEADLAMP_NAMESPACE" --ignore-not-found 2>/dev/null || true
|
||||||
|
kubectl delete configmap plugin-tarball -n "$HEADLAMP_NAMESPACE" --ignore-not-found 2>/dev/null || true
|
||||||
|
|
||||||
|
rm -f "$TAR_FILE"
|
||||||
|
|
||||||
|
# Restart Headlamp to pick up the new plugin
|
||||||
|
echo "Restarting Headlamp deployment to load plugin..."
|
||||||
|
kubectl rollout restart "deployment/$HEADLAMP_DEPLOY" -n "$HEADLAMP_NAMESPACE"
|
||||||
|
kubectl rollout status "deployment/$HEADLAMP_DEPLOY" -n "$HEADLAMP_NAMESPACE" --timeout=120s
|
||||||
|
|
||||||
|
echo "Plugin deployed successfully."
|
||||||
@@ -7,6 +7,7 @@ import { makeAuditData, makeResult } from '../test-utils';
|
|||||||
// Mock Headlamp lib
|
// Mock Headlamp lib
|
||||||
vi.mock('@kinvolk/headlamp-plugin/lib', () => ({
|
vi.mock('@kinvolk/headlamp-plugin/lib', () => ({
|
||||||
ApiProxy: { request: vi.fn() },
|
ApiProxy: { request: vi.fn() },
|
||||||
|
K8s: {},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
vi.mock('@mui/material/styles', () => ({
|
vi.mock('@mui/material/styles', () => ({
|
||||||
@@ -24,6 +25,15 @@ vi.mock('react-router-dom', () => ({
|
|||||||
useHistory: () => ({ push: mockPush }),
|
useHistory: () => ({ push: mockPush }),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
// Set window.location.pathname for cluster extraction
|
||||||
|
beforeEach(() => {
|
||||||
|
Object.defineProperty(window, 'location', {
|
||||||
|
value: { pathname: '/c/test-cluster/some-page' },
|
||||||
|
writable: true,
|
||||||
|
});
|
||||||
|
mockPush.mockClear();
|
||||||
|
});
|
||||||
|
|
||||||
const mockUsePolarisDataContext = vi.fn();
|
const mockUsePolarisDataContext = vi.fn();
|
||||||
vi.mock('../api/PolarisDataContext', () => ({
|
vi.mock('../api/PolarisDataContext', () => ({
|
||||||
usePolarisDataContext: () => mockUsePolarisDataContext(),
|
usePolarisDataContext: () => mockUsePolarisDataContext(),
|
||||||
@@ -90,7 +100,34 @@ describe('AppBarScoreBadge', () => {
|
|||||||
expect(button.style.backgroundColor).toBe('rgb(244, 67, 54)');
|
expect(button.style.backgroundColor).toBe('rgb(244, 67, 54)');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('navigates to /polaris on click', async () => {
|
it('navigates to /c/<cluster>/polaris on click', async () => {
|
||||||
|
const user = userEvent.setup();
|
||||||
|
const data = makeAuditData([
|
||||||
|
makeResult({
|
||||||
|
Results: {
|
||||||
|
c1: {
|
||||||
|
ID: 'c1',
|
||||||
|
Message: '',
|
||||||
|
Details: [],
|
||||||
|
Success: true,
|
||||||
|
Severity: 'warning',
|
||||||
|
Category: 'X',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
]);
|
||||||
|
mockUsePolarisDataContext.mockReturnValue({ data, loading: false });
|
||||||
|
|
||||||
|
render(<AppBarScoreBadge />);
|
||||||
|
await user.click(screen.getByRole('button'));
|
||||||
|
expect(mockPush).toHaveBeenCalledWith('/c/test-cluster/polaris');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('navigates to /polaris when no cluster in URL', async () => {
|
||||||
|
Object.defineProperty(window, 'location', {
|
||||||
|
value: { pathname: '/settings' },
|
||||||
|
writable: true,
|
||||||
|
});
|
||||||
const user = userEvent.setup();
|
const user = userEvent.setup();
|
||||||
const data = makeAuditData([
|
const data = makeAuditData([
|
||||||
makeResult({
|
makeResult({
|
||||||
|
|||||||
@@ -4,6 +4,18 @@ import { useHistory } from 'react-router-dom';
|
|||||||
import { computeScore, countResults } from '../api/polaris';
|
import { computeScore, countResults } from '../api/polaris';
|
||||||
import { usePolarisDataContext } from '../api/PolarisDataContext';
|
import { usePolarisDataContext } from '../api/PolarisDataContext';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Extract the cluster name from the current browser URL.
|
||||||
|
* Headlamp cluster routes follow the pattern /c/<cluster>/...
|
||||||
|
* We read window.location.pathname directly because the AppBar renders
|
||||||
|
* outside the cluster route context, so useCluster() returns null and
|
||||||
|
* React Router's useLocation() may not reflect the cluster prefix.
|
||||||
|
*/
|
||||||
|
function getClusterFromUrl(): string | null {
|
||||||
|
const match = window.location.pathname.match(/\/c\/([^/]+)/);
|
||||||
|
return match ? match[1] : null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* App bar badge showing cluster Polaris score
|
* App bar badge showing cluster Polaris score
|
||||||
* Clicking navigates to the overview dashboard
|
* Clicking navigates to the overview dashboard
|
||||||
@@ -34,7 +46,9 @@ export default function AppBarScoreBadge() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleClick = () => {
|
const handleClick = () => {
|
||||||
history.push('/polaris');
|
const cluster = getClusterFromUrl();
|
||||||
|
const prefix = cluster ? `/c/${cluster}` : '';
|
||||||
|
history.push(`${prefix}/polaris`);
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
+1
-1
@@ -99,7 +99,7 @@ registerRoute({
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Register plugin settings
|
// Register plugin settings
|
||||||
registerPluginSettings('polaris', PolarisSettings, true);
|
registerPluginSettings('headlamp-polaris', PolarisSettings, true);
|
||||||
|
|
||||||
// Register details view section for supported controller types
|
// Register details view section for supported controller types
|
||||||
registerDetailsViewSection(({ resource }) => {
|
registerDetailsViewSection(({ resource }) => {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "@kinvolk/headlamp-plugin/config/plugins-tsconfig.json",
|
"extends": "@kinvolk/headlamp-plugin/config/plugins-tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"types": ["vite/client", "vite-plugin-svgr/client", "vitest/globals", "@testing-library/jest-dom"]
|
"types": ["vitest/globals", "@testing-library/jest-dom"]
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user