Compare commits

..
Author SHA1 Message Date
github-actions[bot] 1e60ff80e4 CI Build Artifacts 2026-11-10 01:03:18 +00:00
github-actions[bot] b640e9c9a7 CI Build Artifacts 2026-09-15 13:31:23 +00:00
github-actions[bot] e75c94e3f6 CI Build Artifacts 2026-08-13 02:40:45 +00:00
github-actions[bot] ed511ffa52 CI Build Artifacts 2026-08-06 03:37:56 +00:00
github-actions[bot] baedb241d0 CI Build Artifacts 2026-07-09 10:25:06 +00:00
github-actions[bot] 76d3da0420 CI Build Artifacts 2026-06-29 09:03:30 +00:00
github-actions[bot] 8a4e687c61 CI Build Artifacts 2026-04-24 08:42:41 +00:00
github-actions[bot] 453bd51c0f CI Build Artifacts 2026-02-09 01:39:10 +00:00
Andy Lee 1dbb6601db docs: add README.md (#660)
Signed-off-by: Andy Lee <andy.lee@suse.com>
2025-12-23 16:23:41 +08:00
github-actions[bot] b6f5d0f93c CI Build Artifacts 2025-12-22 05:52:09 +00:00
github-actions[bot] be06d1735f CI Build Artifacts 2025-10-16 04:40:05 +00:00
github-actions[bot] 48ff415710 CI Build Artifacts 2025-09-17 03:08:12 +00:00
github-actions[bot] e892df40b1 CI Build Artifacts 2025-08-26 03:29:41 +00:00
github-actions[bot] fcd1138450 CI Build Artifacts 2025-06-27 09:48:38 +00:00
github-actions[bot] 1f55c6b27d CI Build Artifacts 2025-05-26 06:32:23 +00:00
2506 changed files with 89273 additions and 4 deletions

No files matched your search

+178 -2
View File
@@ -1,2 +1,178 @@
# harvester
harvester UI extension
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For detailed installation instructions, please refer to the [official Harvester documentation](https://docs.harvesterhci.io/v1.5/rancher/harvester-ui-extension#installation-on-rancher-210).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2025 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+309 -1
View File
@@ -1,6 +1,292 @@
apiVersion: v1
entries:
harvester:
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.15.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.9.1
created: "2026-11-10T01:02:47.784103167Z"
description: Rancher UI Extension for Harvester
digest: 6fbe349ff11e46925d57c9cc377a276645b0328515a7245b5385f8669156498a
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.9.1.tgz
version: 1.9.1
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.15.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.9.0
created: "2026-09-15T13:30:51.535724913Z"
description: Rancher UI Extension for Harvester
digest: b3b8ba75a19ffde85dce0ace87945f5fe85d9e40ae51663513cb13c634116b43
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.9.0.tgz
version: 1.9.0
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.14.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.8.2
created: "2026-08-06T03:37:29.641760406Z"
description: Rancher UI Extension for Harvester
digest: 268213cdf656bd6b995b1e96659eefd6a649e9166588442ed452ec6f9e37ded8
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.8.2.tgz
version: 1.8.2
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.14.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.8.1
created: "2026-06-29T09:03:05.788811487Z"
description: Rancher UI Extension for Harvester
digest: d3421615d52a305a3ffb160f09680200fc4336fb7cfd6153b9fd89c31aaf9e9c
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.8.1.tgz
version: 1.8.1
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.14.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.8.0
created: "2026-04-24T08:42:25.876102825Z"
description: Rancher UI Extension for Harvester
digest: 3d59157b1f071cf7e6da5efa2024c2484681075c18b1ef1ee9d114805b995af9
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.8.0.tgz
version: 1.8.0
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.13.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.7.3
created: "2026-08-13T02:40:24.127885544Z"
description: Rancher UI Extension for Harvester
digest: a6ca6cab128884cd2bb9b01cfb29cfa6778dbd4624c06068a05c6d7fcbc80635
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.7.3.tgz
version: 1.7.3
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.13.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.7.2
created: "2026-07-09T10:22:38.522196614Z"
description: Rancher UI Extension for Harvester
digest: 596cffcf148af5fed7ad4a42f31666265fff66b837c78442d77bf8288b681105
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.7.2.tgz
version: 1.7.2
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.13.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.7.1
created: "2026-02-09T01:38:47.352758035Z"
description: Rancher UI Extension for Harvester
digest: c570a3e3c94e82ead235d9466bac185d7b598900475deab0252d41164e9ee8b6
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.7.1.tgz
version: 1.7.1
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.13.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.7.0
created: "2025-12-22T05:51:53.138074031Z"
description: Rancher UI Extension for Harvester
digest: cd5c5510f7ae950080515d45a8fdff4e4783bb5f84aa1a3137beea9b31c36ca4
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.7.0.tgz
version: 1.7.0
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.12.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.6.1
created: "2025-10-16T04:39:45.574842313Z"
description: Rancher UI Extension for Harvester
digest: df703aaada94422091572b9688a99bb307ed4554d97e170bf33672f1be24fbec
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.6.1.tgz
version: 1.6.1
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.12.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.6.0
created: "2025-08-26T03:29:21.033664392Z"
description: Rancher UI Extension for Harvester
digest: 909af8d2367e4c7efe00d3ed652f08de754e6649f4918f4ed2061c07ae1d3d80
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.6.0.tgz
version: 1.6.0
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.11.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.5.2
created: "2025-09-17T03:07:46.804461872Z"
description: Rancher UI Extension for Harvester
digest: 87cf31646a9b992062fcfe814141a4d94e08084fd90beb4d7013ca76c166282a
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.5.2.tgz
version: 1.5.2
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.11.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.5.1
created: "2025-06-27T09:48:21.367483564Z"
description: Rancher UI Extension for Harvester
digest: babe61b6d79da2e3aff8cb728b0ba199b452aede7415e4c0f0f7fa64db2753cd
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.5.1.tgz
version: 1.5.1
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
@@ -23,6 +309,28 @@ entries:
urls:
- assets/harvester/harvester-1.5.0.tgz
version: 1.5.0
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.10.1-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.0.6
created: "2025-05-26T06:32:05.860124157Z"
description: Rancher UI Extension for Harvester
digest: 96a36d27d133efa201ab66d90ef836a0d3d77f6545644072be28171401a3ae63
icon: https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
name: harvester
type: application
urls:
- assets/harvester/harvester-1.0.6.tgz
version: 1.0.6
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Harvester
@@ -155,4 +463,4 @@ entries:
urls:
- assets/harvester/harvester-1.0.0.tgz
version: 1.0.0
generated: "2025-04-25T02:20:26.600240604Z"
generated: "2026-11-10T01:02:47.783719269Z"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.10.1-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.0.6
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.0.6
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+14
View File
@@ -0,0 +1,14 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.0.6
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+12
View File
@@ -0,0 +1,12 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.10.1-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.11.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.5.1
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.5.1
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+14
View File
@@ -0,0 +1,14 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.5.1
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+12
View File
@@ -0,0 +1,12 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.11.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.11.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.5.2
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.5.2
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+14
View File
@@ -0,0 +1,14 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.5.2
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+12
View File
@@ -0,0 +1,12 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.11.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.12.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.6.0
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.6.0
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.6.0
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.6.0.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.12.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.12.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.6.1
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.6.1
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.6.1
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.6.1.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.12.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.13.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.7.0
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.7.0
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
+178
View File
@@ -0,0 +1,178 @@
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For detailed installation instructions, please refer to the [official Harvester documentation](https://docs.harvesterhci.io/v1.5/rancher/harvester-ui-extension#installation-on-rancher-210).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2025 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.7.0
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.7.0.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.13.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.13.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.7.1
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.7.1
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
+178
View File
@@ -0,0 +1,178 @@
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For detailed installation instructions, please refer to the [official Harvester documentation](https://docs.harvesterhci.io/v1.5/rancher/harvester-ui-extension#installation-on-rancher-210).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2025 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.7.1
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.7.1.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.13.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.13.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.7.2
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.7.2
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
+178
View File
@@ -0,0 +1,178 @@
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For detailed installation instructions, please refer to the [official Harvester documentation](https://docs.harvesterhci.io/v1.5/rancher/harvester-ui-extension#installation-on-rancher-210).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2025 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.7.2
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.7.2.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.13.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.13.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.7.3
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.7.3
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
+178
View File
@@ -0,0 +1,178 @@
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For detailed installation instructions, please refer to the [official Harvester documentation](https://docs.harvesterhci.io/v1.5/rancher/harvester-ui-extension#installation-on-rancher-210).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2025 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.7.3
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.7.3.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.13.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.14.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.8.0
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.8.0
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
+177
View File
@@ -0,0 +1,177 @@
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For Harvester UI extension installation instructions, please refer to the page **Rancher Integration** -> **Harvester UI Extension** in [official Harvester documentation](https://docs.harvesterhci.io).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2026 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.8.0
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.8.0.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.14.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.14.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.8.1
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.8.1
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
+177
View File
@@ -0,0 +1,177 @@
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For Harvester UI extension installation instructions, please refer to the page **Rancher Integration** -> **Harvester UI Extension** in [official Harvester documentation](https://docs.harvesterhci.io).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2026 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.8.1
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.8.1.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.14.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.14.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.8.2
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.8.2
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
+177
View File
@@ -0,0 +1,177 @@
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For Harvester UI extension installation instructions, please refer to the page **Rancher Integration** -> **Harvester UI Extension** in [official Harvester documentation](https://docs.harvesterhci.io).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2026 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.8.2
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.8.2.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.14.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.15.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.9.0
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.9.0
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
+177
View File
@@ -0,0 +1,177 @@
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For Harvester UI extension installation instructions, please refer to the page **Rancher Integration** -> **Harvester UI Extension** in [official Harvester documentation](https://docs.harvesterhci.io).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2026 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.9.0
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.9.0.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.15.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+19
View File
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: '>= 1.16.0-0'
catalog.cattle.io/rancher-version: '>= 2.15.0-0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 1.9.1
description: Rancher UI Extension for Harvester
name: harvester
type: application
version: 1.9.1
icon: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/main/pkg/harvester/icon.svg
+177
View File
@@ -0,0 +1,177 @@
# harvester-ui-extension
The Harvester UI Extension is a Rancher extension that provides the user interface for [Harvester](https://harvesterhci.io) within the [Rancher Dashboard](https://github.com/rancher/dashboard).
> **Note:**
> This extension is available starting from **Rancher 2.10.0**. Ensure your Rancher version is **2.10.0 or later** to access Harvester integration.
## Installation
For Harvester UI extension installation instructions, please refer to the page **Rancher Integration** -> **Harvester UI Extension** in [official Harvester documentation](https://docs.harvesterhci.io).
## Development Setup
Ensure **Node.js v20 or later** is installed for development and debugging.
### Standalone Mode
Run the extension standalone with hot reload at `https://localhost:8005`.
```bash
# Install dependencies
yarn install
# Start the development server
RANCHER_ENV=harvester API=https://your-harvester-ip yarn dev
# Example with specific server version
RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.5.0 API=https://192.168.1.123 yarn dev
```
You may also define environment variables in a `.env` file:
```env
RANCHER_ENV=harvester
VUE_APP_SERVER_VERSION=v1.5.0
API=https://192.168.1.123
```
### Rancher Integration Mode
To run as a Rancher extension, follow the [Rancher UI Extension Guide](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app).
```bash
API=https://your-rancher-ip yarn dev
```
## Commit Message Guidelines
This project uses [commit-lint](https://commitlint.js.org/) with [Conventional Commits](https://www.conventionalcommits.org/) to ensure consistent and meaningful commit messages.
### Commit Message Format
All commit messages must follow the conventional commit format:
```
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
```
### Supported Types
- **feat**: New features
- **fix**: Bug fixes
- **docs**: Documentation changes
- **style**: Code style changes (formatting, missing semicolons, etc.)
- **refactor**: Code refactoring
- **perf**: Performance improvements
- **test**: Adding or updating tests
- **build**: Build system or external dependencies
- **ci**: CI/CD changes
- **chore**: Other changes that don't modify src or test files
- **revert**: Reverts a previous commit
- **wip**: Work in progress
- **deps**: Dependency updates
- **security**: Security fixes
### Examples
```bash
# Feature
git commit -m "feat: add new virtual machine creation wizard"
# Bug fix
git commit -m "fix: resolve memory leak in VM console"
# Documentation
git commit -m "docs: update installation instructions"
# Breaking change
git commit -m "feat!: change API endpoint structure
BREAKING CHANGE: The /api/v1/vms endpoint has been replaced with /api/v2/vms"
```
### Git Hooks
The project uses [Husky](https://typicode.github.io/husky/) to automatically validate commit messages and run linting before commits:
- **pre-commit**: Runs ESLint to ensure code quality
- **commit-msg**: Validates commit message format using commit-lint
These hooks are automatically installed when you run `yarn install`.
### Manual Validation
You can manually validate commit messages:
```bash
# Validate the last commit
yarn commitlint
# Validate a specific commit
npx commitlint --from <commit-hash>
# Validate a range of commits
npx commitlint --from <start-hash> --to <end-hash>
```
## Branch Structure
- **`main`** – Main development branch
- **`release-harvester-vX.Y`** – Stable release branches per version series
- **`vX.Y-head`** – Testing branches for ongoing changes to extension builds in each release series
> **Note:**
> The `vX.Y-head` branches are auto-generated and kept in sync with release branches. Use these for testing the latest changes in each version series.
## Testing Guidelines
### UI Extension Testing
To validate changes in a release series, switch to the appropriate `vX.Y-head` branch. For main branch testing, use `main-head`.
- Examples:
- Test `1.0.x` series → `v1.0-head`
- Test `1.5.x` series → `v1.5-head`
**Steps:**
1. Navigate to **Rancher UI** → **Local** → **App** → **Repositories**
2. Refresh the Harvester repository using the target `vX.Y-head` branch
3. Go to the **Extensions** page and install the desired version
### Standalone Mode Testing
To test the standalone UI, configure Harvester to load the UI from an external source.
- Examples of `ui-index`:
- Main branch → `https://releases.rancher.com/harvester-ui/dashboard/latest/index.html`
- Release series `1.5.x` → `https://releases.rancher.com/harvester-ui/dashboard/release-harvester-v1.5/index.html`
**Steps:**
1. Go to **Harvester UI** → **Advanced** → **Settings** → **UI**
2. Set **ui-source** to `External`
3. Set **ui-index** to the desired URL
## Contributing
If you want to contribute, start by reading this document, then visit our [Getting Started guide](https://extensions.rancher.io/extensions/next/extensions-getting-started) to learn how to develop and submit changes.
## License
Copyright (c) 2014-2026 [SUSE, LLC.](https://www.suse.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,63 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "extension-server.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "extension-server.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "extension-server.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "extension-server.labels" -}}
helm.sh/chart: {{ include "extension-server.chart" . }}
{{ include "extension-server.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "extension-server.selectorLabels" -}}
app.kubernetes.io/name: {{ include "extension-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Pkg annotations
*/}}
{{- define "extension-server.pluginMetadata" -}}
{{- with .Values.plugin.metadata }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
+15
View File
@@ -0,0 +1,15 @@
apiVersion: catalog.cattle.io/v1
kind: UIPlugin
metadata:
name: {{ include "extension-server.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "extension-server.labels" . | nindent 4 }}
spec:
plugin:
name: {{ include "extension-server.fullname" . }}
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
endpoint: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
+16
View File
@@ -0,0 +1,16 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.9.1
compressedEndpoint: >-
https://raw.githubusercontent.com/harvester/harvester-ui-extension/gh-pages/extensions/harvester/1.9.1.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/display-name: Harvester
catalog.cattle.io/kube-version: ">= 1.16.0-0"
catalog.cattle.io/rancher-version: ">= 2.15.0-0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
+175
View File
@@ -0,0 +1,175 @@
plugin/harvester-1.0.6.umd.min.146.js
plugin/harvester-1.0.6.umd.min.146.js.map
plugin/harvester-1.0.6.umd.min.160.js
plugin/harvester-1.0.6.umd.min.160.js.map
plugin/harvester-1.0.6.umd.min.207.js
plugin/harvester-1.0.6.umd.min.207.js.map
plugin/harvester-1.0.6.umd.min.304.js
plugin/harvester-1.0.6.umd.min.304.js.map
plugin/harvester-1.0.6.umd.min.37.js
plugin/harvester-1.0.6.umd.min.37.js.map
plugin/harvester-1.0.6.umd.min.395.js
plugin/harvester-1.0.6.umd.min.395.js.map
plugin/harvester-1.0.6.umd.min.431.js
plugin/harvester-1.0.6.umd.min.431.js.map
plugin/harvester-1.0.6.umd.min.443.js
plugin/harvester-1.0.6.umd.min.443.js.map
plugin/harvester-1.0.6.umd.min.468.js
plugin/harvester-1.0.6.umd.min.468.js.map
plugin/harvester-1.0.6.umd.min.472.js
plugin/harvester-1.0.6.umd.min.472.js.map
plugin/harvester-1.0.6.umd.min.545.js
plugin/harvester-1.0.6.umd.min.545.js.map
plugin/harvester-1.0.6.umd.min.60.js
plugin/harvester-1.0.6.umd.min.60.js.map
plugin/harvester-1.0.6.umd.min.850.js
plugin/harvester-1.0.6.umd.min.850.js.map
plugin/harvester-1.0.6.umd.min.872.js
plugin/harvester-1.0.6.umd.min.872.js.map
plugin/harvester-1.0.6.umd.min.934.js
plugin/harvester-1.0.6.umd.min.934.js.map
plugin/harvester-1.0.6.umd.min.csv.js
plugin/harvester-1.0.6.umd.min.csv.js.map
plugin/harvester-1.0.6.umd.min.detail.js
plugin/harvester-1.0.6.umd.min.detail.js.map
plugin/harvester-1.0.6.umd.min.dialog.js
plugin/harvester-1.0.6.umd.min.dialog.js.map
plugin/harvester-1.0.6.umd.min.edit.js
plugin/harvester-1.0.6.umd.min.edit.js.map
plugin/harvester-1.0.6.umd.min.formatters.js
plugin/harvester-1.0.6.umd.min.formatters.js.map
plugin/harvester-1.0.6.umd.min.js
plugin/harvester-1.0.6.umd.min.js.map
plugin/harvester-1.0.6.umd.min.list.js
plugin/harvester-1.0.6.umd.min.list.js.map
plugin/harvester-1.0.6.umd.min.promptRemove.js
plugin/harvester-1.0.6.umd.min.promptRemove.js.map
plugin/harvester-1.0.6.umd.min.xterm.js
plugin/harvester-1.0.6.umd.min.xterm.js.map
plugin/img/activedirectory.0baa2998.svg
plugin/img/adfs.6e70726e.svg
plugin/img/aliyun-black.a9967561.svg
plugin/img/aliyun.d05bff3f.svg
plugin/img/aliyunecs-black.93dd5b27.svg
plugin/img/aliyunecs.b57b715b.svg
plugin/img/amazonec2-black.5d49a518.svg
plugin/img/amazonec2.259f7435.svg
plugin/img/amazoneks-black.e3999509.svg
plugin/img/amazoneks.44a8a254.svg
plugin/img/aws.988ade4f.svg
plugin/img/azure-black.4bcdbe6b.svg
plugin/img/azure.7d30d447.svg
plugin/img/azuread-black.d272db7e.svg
plugin/img/azuread.774efe5f.svg
plugin/img/azuread.7914bb78.svg
plugin/img/azureaks-black.09cdc074.svg
plugin/img/azureaks.239d69fb.svg
plugin/img/baidu-black.32fb0569.svg
plugin/img/baidu.063c3510.svg
plugin/img/banner.00f803a6.svg
plugin/img/banner.e66743c3.svg
plugin/img/cloudca-black.2c8fc541.svg
plugin/img/cloudca.fb088dd5.svg
plugin/img/cloudscale-black.87d94917.svg
plugin/img/cloudscale.dd348191.svg
plugin/img/custom.2ff19310.svg
plugin/img/custom.6f45244d.svg
plugin/img/decoration-cloud-big-white.4229596e.svg
plugin/img/decoration-ground.3f64fcbb.svg
plugin/img/digitalocean-black.3d5310a1.svg
plugin/img/digitalocean.b0aa5786.svg
plugin/img/email.b67ceff2.svg
plugin/img/equinix-black.0870820e.svg
plugin/img/equinix.c112c186.svg
plugin/img/error-desert-landscape.2a9d44f4.svg
plugin/img/exoscale.af115826.svg
plugin/img/favicon.20240f8a.png
plugin/img/freeipa.ef110cc0.svg
plugin/img/gcp.f7a1243c.svg
plugin/img/generic-catalog.1842a50e.svg
plugin/img/github.9c864145.svg
plugin/img/gke-black.64bdd882.svg
plugin/img/gke.4c1ecbcd.svg
plugin/img/google.789cf860.svg
plugin/img/googlegke-black.64bdd882.svg
plugin/img/googlegke.4c1ecbcd.svg
plugin/img/googleoauth.4619a2a5.svg
plugin/img/grafana.2db31bb8.svg
plugin/img/half-logo.1bc560ee.svg
plugin/img/harvester.0168283e.svg
plugin/img/harvester.20240f8a.png
plugin/img/huaweicce-black.d378b855.svg
plugin/img/huaweicce.22b4ecea.svg
plugin/img/icon.42954c0f.svg
plugin/img/import.ac396542.svg
plugin/img/jaeger.1c7d1266.svg
plugin/img/k3s-black.b4765216.svg
plugin/img/k3s.f0881505.svg
plugin/img/keycloak.ca7b4848.svg
plugin/img/kiali.d0e257dd.svg
plugin/img/kubernetes-black.2ade6358.svg
plugin/img/kubernetes.ac396542.svg
plugin/img/linode.642005fe.svg
plugin/img/linodelke-black.81aa799d.svg
plugin/img/linodelke.642005fe.svg
plugin/img/linux.a96776e5.svg
plugin/img/local-cluster.272d4fc9.svg
plugin/img/login-landscape.60cd520b.svg
plugin/img/login-landscape.6e1253bb.svg
plugin/img/longhorn.4809470b.svg
plugin/img/minikube-black.94055a38.svg
plugin/img/minikube.117e4a38.svg
plugin/img/neuvector.513801d3.svg
plugin/img/nutanix.b10c401f.svg
plugin/img/oci-black.cd3524de.svg
plugin/img/oci.3a81eed0.svg
plugin/img/okta.58a2aa35.svg
plugin/img/openid.451743dd.svg
plugin/img/openldap.59040f23.svg
plugin/img/openstack-black.af3ac5a0.svg
plugin/img/openstack.475580f8.svg
plugin/img/oracle.74aae75e.svg
plugin/img/oracleoke-black.ec0a34a2.svg
plugin/img/oracleoke.64fac528.svg
plugin/img/otc-black.5629758c.svg
plugin/img/otc.1b7d926f.svg
plugin/img/otccce.1b7d926f.svg
plugin/img/outscale.d0d823da.svg
plugin/img/ovhcloudmks.612c966f.svg
plugin/img/ovhcloudpubliccloud.612c966f.svg
plugin/img/packet-black.5fc90c03.svg
plugin/img/packet.ef1f45fa.svg
plugin/img/pagerduty.9871fbd3.svg
plugin/img/ping.5b5afc6e.svg
plugin/img/pinganyunecs-black.bf0b3440.svg
plugin/img/pinganyunecs.b74db865.svg
plugin/img/pnap-black.a7948015.svg
plugin/img/pnap.81704b7a.svg
plugin/img/prometheus.be8ac54d.svg
plugin/img/rackspace-black.0e8f8bc4.svg
plugin/img/rackspace.5e8dcb5a.svg
plugin/img/rancher-logo.3680d0eb.svg
plugin/img/rancher-logo.487fcd1d.svg
plugin/img/rancher-logo.788ed883.svg
plugin/img/rancher-logo.8d98c901.svg
plugin/img/rancher-logo.920195b3.svg
plugin/img/rancher-logo.b8492368.svg
plugin/img/rancher-logo.d773077a.svg
plugin/img/rancher-logo.ef1ab5b0.svg
plugin/img/rancher-logo.f190bd21.svg
plugin/img/rancher-logo.fd684d42.svg
plugin/img/rke.a01f31e7.svg
plugin/img/rke2.a01f31e7.svg
plugin/img/setup-step-one.7b236b40.svg
plugin/img/shibboleth.35ea1d68.svg
plugin/img/slack.34dfd73f.svg
plugin/img/softlayer.5d9a5c2a.svg
plugin/img/sunglasses.157dca2a.svg
plugin/img/tencenttke-black.140c30e5.svg
plugin/img/tencenttke.42042615.svg
plugin/img/vmwarevsphere-black.454d68ed.svg
plugin/img/vmwarevsphere.94d59db3.svg
plugin/img/webhook.f86c012b.svg
plugin/img/wechat-qr-code.c0468b45.jpg
plugin/img/windows.f862ed7d.svg
plugin/package.json
@@ -0,0 +1,25 @@
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]||[]).push([[146],{92070:function(e,t,n){"use strict";var a=n(9274),s=n.t(a,2);n(4364);function o(e,t){const n=Object.create(null),a=e.split(",");for(let s=0;s<a.length;s++)n[a[s]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const l={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"HYDRATE_EVENTS",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"};const i=/;(?![^(]*\))/g,r=/:([^]+)/,c=/\/\*.*?\*\//gs;function u(e){const t={};return e.replace(c,"").split(i).forEach((e=>{if(e){const n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}const d="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",p="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",_="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",h=o(d),m=o(p),f=o(_);const v={},b=()=>{},g=()=>!1,y=/^on[^a-z]/,k=e=>y.test(e),E=Object.assign,w=(Object.prototype.hasOwnProperty,Array.isArray),N=e=>"string"===typeof e,x=e=>"symbol"===typeof e,S=e=>null!==e&&"object"===typeof e,V=(Object.prototype.toString,o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted")),C=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),O=e=>{const t=Object.create(null);return n=>{const a=t[n];return a||(t[n]=e(n))}},T=/-(\w)/g,A=O((e=>e.replace(T,((e,t)=>t?t.toUpperCase():"")))),I=/\B([A-Z])/g,L=O((e=>e.replace(I,"-$1").toLowerCase())),R=O((e=>e.charAt(0).toUpperCase()+e.slice(1))),D=O((e=>e?`on${R(e)}`:""));function B(e){throw e}function M(e){}function U(e,t,n,a){const s=e,o=new SyntaxError(String(s));return o.code=e,o.loc=t,o}const P=Symbol(""),j=Symbol(""),$=Symbol(""),K=Symbol(""),F=Symbol(""),q=Symbol(""),W=Symbol(""),z=Symbol(""),G=Symbol(""),Q=Symbol(""),H=Symbol(""),X=Symbol(""),J=Symbol(""),Y=Symbol(""),Z=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),ae=Symbol(""),se=Symbol(""),oe=Symbol(""),le=Symbol(""),ie=Symbol(""),re=Symbol(""),ce=Symbol(""),ue=Symbol(""),de=Symbol(""),pe=Symbol(""),_e=Symbol(""),he=Symbol(""),me=Symbol(""),fe=Symbol(""),ve=Symbol(""),be=Symbol(""),ge=Symbol(""),ye=Symbol(""),ke=Symbol(""),Ee=Symbol(""),we=Symbol(""),Ne={[P]:"Fragment",[j]:"Teleport",[$]:"Suspense",[K]:"KeepAlive",[F]:"BaseTransition",[q]:"openBlock",[W]:"createBlock",[z]:"createElementBlock",[G]:"createVNode",[Q]:"createElementVNode",[H]:"createCommentVNode",[X]:"createTextVNode",[J]:"createStaticVNode",[Y]:"resolveComponent",[Z]:"resolveDynamicComponent",[ee]:"resolveDirective",[te]:"resolveFilter",[ne]:"withDirectives",[ae]:"renderList",[se]:"renderSlot",[oe]:"createSlots",[le]:"toDisplayString",[ie]:"mergeProps",[re]:"normalizeClass",[ce]:"normalizeStyle",[ue]:"normalizeProps",[de]:"guardReactiveProps",[pe]:"toHandlers",[_e]:"camelize",[he]:"capitalize",[me]:"toHandlerKey",[fe]:"setBlockTracking",[ve]:"pushScopeId",[be]:"popScopeId",[ge]:"withCtx",[ye]:"unref",[ke]:"isRef",[Ee]:"withMemo",[we]:"isMemoSame"};function xe(e){Object.getOwnPropertySymbols(e).forEach((t=>{Ne[t]=e[t]}))}const Se={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ve(e,t=Se){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Ce(e,t,n,a,s,o,l,i=!1,r=!1,c=!1,u=Se){return e&&(i?(e.helper(q),e.helper(rt(e.inSSR,c))):e.helper(lt(e.inSSR,c)),l&&e.helper(ne)),{type:13,tag:t,props:n,children:a,patchFlag:s,dynamicProps:o,directives:l,isBlock:i,disableTracking:r,isComponent:c,loc:u}}function Oe(e,t=Se){return{type:17,loc:t,elements:e}}function Te(e,t=Se){Line truncated
/*!
* isElementVisible
* Adapted from https://github.com/testing-library/jest-dom
* Licensed under the MIT License.
*/function xo(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;var t=getComputedStyle(e),n=t.display,a=t.visibility,s=t.opacity;return"none"!==n&&"hidden"!==a&&"collapse"!==a&&"0"!==s}function So(e){return!e.hasAttribute("hidden")&&("DETAILS"!==e.nodeName||e.hasAttribute("open"))}function Vo(e){return"#comment"!==e.nodeName&&xo(e)&&So(e)&&(!e.parentElement||Vo(e.parentElement))}function Co(e){return e instanceof Element}(function(e){e[e["DOMWrapper"]=0]="DOMWrapper",e[e["VueWrapper"]=1]="VueWrapper"})(no||(no={}));var Oo={};function To(e,t){Oo[e]=t}var Ao=function(e){return Oo[no.DOMWrapper](e)},Io=function(e,t,n){return Oo[no.VueWrapper](e,t,n)};function Lo(e){return e instanceof Element?e.outerHTML:(new XMLSerializer).serializeToString(e)}var Ro,Do={exports:{}},Bo={},Mo={exports:{}},Uo={},Po={};function jo(){if(Ro)return Po;function e(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function t(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function n(n,a){this.__indent_cache=new t(n,a),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return Ro=1,e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},e.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},e.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},e.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},t.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t,n},t.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t],n},t.prototype.__ensure_cache=function(e){while(e>=this.__cache.length)this.__add_column()},t.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_sizeLine truncated
/*!
* is-extendable <https://github.com/jonschlinkert/is-extendable>
*
* Copyright (c) 2015, Jon Schlinkert.
* Licensed under the MIT License.
*/var Zl=function(e){return"undefined"!==typeof e&&null!==e&&("object"===typeof e||"function"===typeof e)},ei=Zl,ti=function(e){ei(e)||(e={});for(var t=arguments.length,n=1;n<t;n++){var a=arguments[n];ei(a)&&ni(e,a)}return e};function ni(e,t){for(var n in t)ai(t,n)&&(e[n]=t[n])}function ai(e,t){return Object.prototype.hasOwnProperty.call(e,t)}
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/var si=function(e){return null!=e&&(oi(e)||li(e)||!!e._isBuffer)};function oi(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function li(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&oi(e.slice(0,0))}var ii=si,ri=Object.prototype.toString,ci=function(e){if("undefined"===typeof e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"===typeof e||e instanceof String)return"string";if("number"===typeof e||e instanceof Number)return"number";if("function"===typeof e||e instanceof Function)return"function";if("undefined"!==typeof Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var t=ri.call(e);return"[object RegExp]"===t?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":ii(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"},ui=Jl,di=ti,pi=ci,_i=function(e,t){var n,a=di({},t),s=a.sep||"\n\n",o=a.min;return"number"===typeof o&&2!==o&&(n=new RegExp("(\\r\\n|\\n|\\u2424) {"+o+",}")),"undefined"===typeof n&&(n=a.regex||/(\r\n|\n|\u2424){2,}/g),!0!==a.keepWhitespace&&(e=e.split("\n").map((function(e){return ui(e)?e.trim():e})).join("\n")),e=hi(e,a),e.replace(n,s)};function hi(e,t){var n=t.trailingNewline;if(!1===n)return e;switch(pi(n)){case"string":e=e.replace(/\s+$/,t.trailingNewline);break;case"function":e=t.trailingNewline(e);break;case"undefined":case"boolean":default:e=e.replace(/\s+$/,"\n");break}return e}
/*!
* pretty <https://github.com/jonschlinkert/pretty>
*
* Copyright (c) 2013-2015, 2017, Jon Schlinkert.
* Released under the MIT License.
*/var mi=Do.exports,fi=_i,vi=ti,bi={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},gi=function(e,t){var n=vi({},bi,t);return e=mi.html(e,n),!0===n.ocd?(n.newlines&&(n.sep=n.newlines),yi(e,n)):e};function yi(e,t){return fi(e,t).replace(/^\s+/g,"").replace(/\s+$/g,"\n").replace(/(\s*<!--)/g,"\n$1").replace(/>(\s*)(?=<!--\s*\/)/g,"> ")}var ki=function(){function e(e){var t=this;this.isDisabled=function(){var e=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],n=void 0!==t.attributes().disabled,a=Co(t.element)&&e.includes(t.element.tagName);return n&&a},this.wrapperElement=e}return Object.defineProperty(e.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),e.prototype.findAllDOMElements=function(e){var t=this.getRootNodes().filter(Co);if(0===t.length)return[];var n=ys([],t.filter((function(t){return t.matches(e)})),!0);return t.forEach((function(t){n.push.apply(n,Array.from(t.querySelectorAll(e)))})),n},e.prototype.find=function(e){if("object"===typeof e&&"ref"in e){var t=this.getCurrentComponent();if(!t)return No("DOMWrapper");var n=t.refs[e.ref];return n instanceof Node?Ao(n):No("DOMWrapper")}var a=this.findAll(e);return a.length>0?a[0]:No("DOMWrapper")},e.prototype.findComponent=function(e){var t=this.getCurrentComponent();if(!t)return No("VueWrapper");if("object"===typeof e&&"ref"in e){var n=t.refs[e.ref];return Array.isArray(n)&&(n=n.length?n[0]:void 0),!n||n instanceof HTMLElement?No("VueWrapper"):Io(null,n)}if(go(t.vnode,e)&&this.element.contains(t.vnode.el))return Io(null,t.proxy);var a=this.findAllComponents(e)[0];return null!==a&&void 0!==a?a:No("VueWrapper")},e.prototype.findAllComponents=function(e){var t=this.getCurrentComponent();if(!t)return[];var n=wo(t.subTree,e);return n.map((function(e){return e.proxy?Io(null,e.proxy):Ao(e.vnode.el)}))},e.prototype.html=function(){return this.getRootNodes().map((function(e){return gi(Lo(e))})).join("\n")},e.prototype.classes=function(e){var t=Co(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},e.prototype.attributes=function(e){var t={};if(Co(this.element))for(var n=Array.from(this.element.attributes),a=0,s=n;a<s.length;a++){var o=s[a];t[o.localName]=o.value}return e?t[e]:t},e.prototype.text=function(){return Is(this.element)},e.prototype.exists=function(){return!0},e.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},e.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var n="Unable to get ";throw n+="string"===typeof e?"component with selector ".concat(e):"name"in e?"component with name ".concat(e.name):"ref"in e?"component with ref ".concat(e.ref):"specified component",n+=" within: ".concat(this.html()),new Error(n)},e.prototype.isVisible=function(){return Co(this.element)&&Vo(this.element)},e.prototype.trigger=function(e,t){return bs(this,void 0,void 0,(function(){var n;return gs(this,(function(s){if(t&&t["target"])throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(n=qs(e,t),this.element.dispatchEvent(n)),[2,(0,a.nextTick)()]}))}))},e}(),Ei=function(e){function t(t){var n=e.call(this,t)||this;return Es.plugins.DOMWrapper.extend(n),n}return fs(t,e),t.prototype.getRootNodes=function(){return[this.wrapperElement]},t.prototype.getCurrentComponent=function(){var e,t=this.element.__vueParentComponent;while((null===(e=null===t||void 0===t?void 0:t.parent)||void 0===e?void 0:e.vnode.el)===this.element)t=t.parent;return t},t.prototype.find=function(t){var n=e.prototype.find.call(this,t);return n.exists()&&Ds(t)?this.element.contains(n.element)?n:No("DOMWrapper"):n},t.prototype.findAll=function(e){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(e),Ao):[]},t.prototype.findAllComponents=function(t){var n=this,a=e.prototype.findAllComponents.call(this,t);return a.filter((function(e){return n.element.contains(e.element)}))},t.prototype.setChecked=function(e){return void 0===e&&(e=!0),bs(this,void 0,void 0,(function(){var t,n;return gs(this,(function(a){if(t=this.element,n=this.attributes().type,"radio"===n&&!e)throw Error('wrapper.setChecked() cannot be called with parameter false on a \'<input type="radio" /> element.');return e===t.checked?[2]:(t.checked=e,[2,this.trigger("change")])}))}))},t.prototype.setValue=function(e){var t=this.element,n=t.tagName,a=this.attributes().type;if("OPTION"===n)return this.setSelected(),Promise.resolve();if("INPUT"===n&&"checkbox"===a)return this.setChecked(e);if("INPUT"===n&&"radio"===a)return this.setChecked(e);if("INPUT"===n||"TEXTAREA"===n||"SELECT"===n)return t.value=e,"SELECT"===n||this.trigger("input"),thisLine truncated
//# sourceMappingURL=harvester-1.0.6.umd.min.146.js.map
@@ -0,0 +1 @@
{"version":3,"file":"harvester-1.0.6.umd.min.146.js","mappings":"iOAOA,SAASA,EAAQC,EAAKC,GAClB,MAAMC,EAAMC,OAAOC,OAAO,MACpBC,EAAOL,EAAIM,MAAM,KACvB,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAKG,OAAQD,IAC7BL,EAAIG,EAAKE,KAAM,EAEnB,OAAON,EAAmBQ,KAASP,EAAIO,EAAIC,eAAiBD,KAASP,EAAIO,EAC7E,CAKA,MAAME,EAAiB,CACnB,CAAC,GAA0B,OAC3B,CAAC,GAA2B,QAC5B,CAAC,GAA2B,QAC5B,CAAC,GAA2B,QAC5B,CAAC,IAAiC,aAClC,CAAC,IAAqC,iBACtC,CAAC,IAAsC,kBACvC,CAAC,KAAs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,GAA4BrI,EAAMsI,EAAYC,EAAWJ,GAAU,GACxE,MAAO,CACHzC,KAAM,GACN1F,OACAsI,aACAC,YACAJ,UACApG,IAAKkD,GAEb,CACA,SAASuD,GAAsBC,EAAOnB,EAAOoB,GAAU,GACnD,MAAO,CACHhD,KAAM,GACN+C,QACAnB,QACAoB,UACA3G,IAAKkD,GAEb,CACA,SAAS0D,GAAqBC,GAC1B,MAAO,CACHlD,KAAM,GACNkD,OACA7G,IAAKkD,Line truncated
@@ -0,0 +1,2 @@
"use strict";(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]||[]).push([[160],{74562:function(e,t,n){n.d(t,{A:function(){return f}});var s=n(9274);const i={key:0};function o(e,t,n,o,r,a){const c=(0,s.resolveComponent)("BadgeState");return(0,s.openBlock)(),(0,s.createElementBlock)("div",null,[n.arbitrary?((0,s.openBlock)(),(0,s.createElementBlock)("div",i,[n.value?((0,s.openBlock)(),(0,s.createBlock)(c,{key:0,color:r.stateBackground,label:r.stateDisplay},null,8,["color","label"])):(0,s.createCommentVNode)("",!0)])):((0,s.openBlock)(),(0,s.createBlock)(c,{key:1,value:n.row},null,8,["value"]))])}var r=n(23005),a=n(89631),c={components:{BadgeState:r.j},props:{value:{type:String,default:""},row:{type:Object,required:!0},col:{type:Object,default:()=>{}},arbitrary:{type:Boolean,default:!1}},data(){return{stateDisplay:"",stateBackground:""}},watch:{value:{handler(){if(this.arbitrary){const e=(0,a.uU)(this.value);this.stateDisplay=(0,a.ch)(this.value),this.stateBackground=e.replace("text-","bg-")}},immediate:!0}}},l=n(47433);const u=(0,l.A)(c,[["render",o]]);var f=u},96261:function(e,t,n){n.d(t,{Ay:function(){return gs}});var s={};n.r(s),n.d(s,{BOM:function(){return Fn},DOCUMENT:function(){return Vn},FLOW_END:function(){return Jn},SCALAR:function(){return Yn},createScalarToken:function(){return xn},isCollection:function(){return Wn},isScalar:function(){return Gn},prettyToken:function(){return Qn},resolveAsScalar:function(){return Ln},setScalarValue:function(){return $n},stringify:function(){return jn},tokenType:function(){return Hn},visit:function(){return Un}});var i={};n.r(i),n.d(i,{Alias:function(){return U},CST:function(){return s},Composer:function(){return Tn},Document:function(){return Pt},Lexer:function(){return ss},LineCounter:function(){return is},Pair:function(){return Le},Parser:function(){return fs},Scalar:function(){return V},Schema:function(){return Kt},YAMLError:function(){return Rt},YAMLMap:function(){return je},YAMLParseError:function(){return Ft},YAMLSeq:function(){return De},YAMLWarning:function(){return Vt},isAlias:function(){return h},isCollection:function(){return b},isDocument:function(){return d},isMap:function(){return p},isNode:function(){return w},isPair:function(){return m},isScalar:function(){return y},isSeq:function(){return g},parse:function(){return ms},parseAllDocuments:function(){return ds},parseDocument:function(){return ps},stringify:function(){return ys},visit:function(){return N},visitAsync:function(){return A}});const o=Symbol.for("yaml.alias"),r=Symbol.for("yaml.document"),a=Symbol.for("yaml.map"),c=Symbol.for("yaml.pair"),l=Symbol.for("yaml.scalar"),u=Symbol.for("yaml.seq"),f=Symbol.for("yaml.node.type"),h=e=>!!e&&"object"===typeof e&&e[f]===o,d=e=>!!e&&"object"===typeof e&&e[f]===r,p=e=>!!e&&"object"===typeof e&&e[f]===a,m=e=>!!e&&"object"===typeof e&&e[f]===c,y=e=>!!e&&"object"===typeof e&&e[f]===l,g=e=>!!e&&"object"===typeof e&&e[f]===u;function b(e){if(e&&"object"===typeof e)switch(e[f]){case a:case u:return!0}return!1}function w(e){if(e&&"object"===typeof e)switch(e[f]){case o:case a:case l:case u:return!0}return!1}const k=e=>(y(e)||b(e))&&!!e.anchor,v=Symbol("break visit"),S=Symbol("skip children"),E=Symbol("remove node");function N(e,t){const n=T(t);if(d(e)){const t=O(null,e.contents,n,Object.freeze([e]));t===E&&(e.contents=null)}else O(null,e,n,Object.freeze([]))}function O(e,t,n,s){const i=L(e,t,n,s);if(w(i)||m(i))return x(e,s,i),O(e,i,n,s);if("symbol"!==typeof i)if(b(t)){s=Object.freeze(s.concat(t));for(let e=0;e<t.items.length;++e){const i=O(e,t.items[e],n,s);if("number"===typeof i)e=i-1;else{if(i===v)return v;i===E&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){s=Object.freeze(s.concat(t));const e=O("key",t.key,n,s);if(e===v)return v;e===E&&(t.key=null);const i=O("value",t.value,n,s);if(i===v)return v;i===E&&(t.value=null)}return i}async function A(e,t){const n=T(t);if(d(e)){const t=await I(null,e.contents,n,Object.freeze([e]));t===E&&(e.contents=null)}else await I(null,e,n,Object.freeze([]))}async function I(e,t,n,s){const i=await L(e,t,n,s);if(w(i)||m(i))return x(e,s,i),I(e,i,n,s);if("symbol"!==typeof i)if(b(t)){s=Object.freeze(s.concat(t));for(let e=0;e<t.items.length;++e){const i=await I(e,t.items[e],n,s);if("number"===typeof i)e=i-1;else{if(i===v)return v;i===E&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){s=Object.freeze(s.concat(t));const e=await I("key",t.key,n,s);if(e===v)return v;e===E&&(t.key=null);const i=await I("value",t.value,n,s);if(i===v)return v;i===E&&(t.value=null)}return i}function T(e){return"object"===typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function L(e,t,n,s){return"function"===typeof n?n(e,t,s):p(t)?n.Map?.(e,t,s):g(t)?n.Seq?.(e,t,s):m(t)?n.Pair?.(e,t,s):y(t)?n.Scalar?.(e,t,s):h(t)?n.Line truncated
//# sourceMappingURL=harvester-1.0.6.umd.min.160.js.map
@@ -0,0 +1 @@
{"version":3,"file":"harvester-1.0.6.umd.min.160.js","mappings":"4VAiDEA,EAAAA,EAAAA,oBAYM,YAXOC,EAAAC,YAAS,kBAApBF,EAAAA,EAAAA,oBAMM,MAAAG,EAAA,CAJIF,EAAAG,QAAK,kBADbC,EAAAA,EAAAA,aAIEC,EAAA,C,M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ASxB,EAAKA,EAAKO,OAAS,GAClC,GAAIvB,EAAawC,GACbA,EAAOlB,MAAMP,GAAOrB,OAEnB,GAAIG,EAAO2C,GACA,QAARzB,EACAyB,EAAOzB,IAAMrB,EAEb8C,EAAOpF,MAAQsC,MAElB,KAAIC,EAAW6C,GAGf,CACD,MAAMC,EAAKhD,EAAQ+C,GAAU,QAAU,SACvC,MAAM,IAAIE,MAAM,4BAA4BD,WAChD,CALID,EAAO3B,SAAWnB,CAKtB,CACJ,CArLAa,EAAMH,MAAQA,EAEdG,EAAMF,KAAOA,EAEbE,EAAMD,OAASA,EAmFfuB,EAAWzB,MAAQA,EAEnByB,EAAWxB,KAAOA,EAElBwB,EAAWvB,OAASA,ECzIpB,MAAMqC,EAAc,CAChB,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,OAEHC,EAAiBC,GAAOA,EAAGjE,QAAQ,cAAckE,GAAMH,EAAYG,KACzE,MAAMC,EACF,WAAAC,CAAYC,EAAMC,GAKdxE,KAAKyE,Line truncated
@@ -0,0 +1,2 @@
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]||[]).push([[207],{68732:function(e,t,r){"use strict";r.d(t,{A:function(){return b}});var a=r(9274);const n={class:"consumption-gauge"},o={key:0},i={class:"numbers"},l={key:0},s={key:1},c={class:"numbers-stats"},d={class:"percentage"},u=(0,a.createElementVNode)("i",null,"/ ",-1),p={class:"mt-10"};function h(e,t,r,h,m,f){const g=(0,a.resolveComponent)("PercentageBar");return(0,a.openBlock)(),(0,a.createElementBlock)("div",n,[r.resourceName&&!r.usedAsResourceName?((0,a.openBlock)(),(0,a.createElementBlock)("h3",o,(0,a.toDisplayString)(r.resourceName),1)):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("div",i,[(0,a.renderSlot)(e.$slots,"title",{amountTemplateValues:f.amountTemplateValues,formattedPercentage:f.formattedPercentage},(()=>[r.usedAsResourceName?((0,a.openBlock)(),(0,a.createElementBlock)("h4",l,(0,a.toDisplayString)(r.resourceName),1)):((0,a.openBlock)(),(0,a.createElementBlock)("span",s,(0,a.toDisplayString)(e.t("node.detail.glance.consumptionGauge.used")),1)),(0,a.createElementVNode)("span",c,[(0,a.createTextVNode)((0,a.toDisplayString)(e.t("node.detail.glance.consumptionGauge.amount",f.amountTemplateValues))+" ",1),(0,a.createElementVNode)("span",d,[u,(0,a.createTextVNode)((0,a.toDisplayString)(f.formattedPercentage),1)])])]))]),(0,a.createElementVNode)("div",p,[(0,a.createVNode)(g,{modelValue:f.percentageBarValue,"color-stops":r.colorStops},null,8,["modelValue","color-stops"])])])}var m=r(12243),f=r(92043),g={components:{PercentageBar:m.A},props:{resourceName:{type:String,default:""},capacity:{type:Number,required:!0},used:{type:Number,required:!0},units:{type:String,default:""},numberFormatter:{type:Function,default:e=>Number.isInteger(e)?e:e.toFixed(2)},colorStops:{type:Object,default:null},usedAsResourceName:{type:Boolean,defaut:!1}},computed:{displayUnits(){return this.units?` ${this.units}`:""},percentageBarValue(){return this.used&&this.capacity?100*this.used/this.capacity:0},amountTemplateValues(){return{used:this.numberFormatter(this.used||0),total:this.numberFormatter(this.capacity||0),unit:this.displayUnits}},formattedPercentage(){return(0,f.l9)(this.percentageBarValue)}}},v=(r(95606),r(47433));const y=(0,v.A)(g,[["render",h]]);var b=y},83030:function(e,t,r){"use strict";r.d(t,{A:function(){return U}});var a=r(9274);const n={class:"graph-options mb-10"},o={class:"info"};function i(e,t,r,i,l,s){const c=(0,a.resolveComponent)("DashboardOptions"),d=(0,a.resolveComponent)("GrafanaDashboard");return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:(0,a.normalizeClass)(["dashboard-metrics",!r.hasSummaryAndDetail&&"external-link-pull-left"])},[(0,a.createElementVNode)("div",n,[(0,a.createVNode)(c,{value:l.graphOptions,"onUpdate:value":t[0]||(t[0]=e=>l.graphOptions=e),"has-summary-and-detail":r.hasSummaryAndDetail},null,8,["value","has-summary-and-detail"])]),(0,a.createElementVNode)("div",o,[(0,a.renderSlot)(e.$slots,"default",{},void 0,!0)]),(0,a.createElementVNode)("div",{class:"graphs",style:(0,a.normalizeStyle)({height:r.graphHeight})},["detail"===l.graphOptions.type?((0,a.openBlock)(),(0,a.createBlock)(d,{key:"'detail'",class:"col span-12 detail","background-color":s.graphBackgroundColor,theme:s.theme,"refresh-rate":l.graphOptions.refreshRate,range:l.graphOptions.range,url:r.detailUrl,vars:r.vars,"modify-prefix":r.modifyPrefix},null,8,["background-color","theme","refresh-rate","range","url","vars","modify-prefix"])):((0,a.openBlock)(),(0,a.createBlock)(d,{key:"'summary'",class:"col span-12 summary","background-color":s.graphBackgroundColor,theme:s.theme,"refresh-rate":l.graphOptions.refreshRate,range:l.graphOptions.range,url:r.summaryUrl,vars:r.vars,"modify-prefix":r.modifyPrefix},null,8,["background-color","theme","refresh-rate","range","url","vars","modify-prefix"]))],4)],2)}const l=e=>((0,a.pushScopeId)("data-v-f155ff46"),e=e(),(0,a.popScopeId)(),e),s={class:"graph-options"},c={key:0},d={key:1},u=l((()=>(0,a.createElementVNode)("div",null,null,-1))),p=[u],h={class:"range-refresh"};function m(e,t,r,n,o,i){const l=(0,a.resolveComponent)("ButtonGroup"),u=(0,a.resolveComponent)("LabeledSelect");return(0,a.openBlock)(),(0,a.createElementBlock)("div",s,[r.hasSummaryAndDetail?((0,a.openBlock)(),(0,a.createElementBlock)("div",c,[(0,a.createVNode)(l,{value:r.value.type,"onUpdate:value":t[0]||(t[0]=e=>r.value.type=e),options:o.detailSummaryOptions},null,8,["value","options"])])):((0,a.openBlock)(),(0,a.createElementBlock)("div",d,p)),(0,a.createElementVNode)("div",h,[(0,a.createVNode)(u,{value:r.value.range,"onUpdate:value":t[1]||(t[1]=e=>r.value.range=e),options:o.rangeOptions,label:e.t("graphOptions.range")},null,8,["value","options","label"]),(0,a.createVNode)(u,{value:r.value.refreshRate,"onUpdate:value":t[2]||(t[2]=e=>r.value.refreshRate=e),options:o.refreshOptions,label:e.t("graphOptions.refresh")},null,8,["value","options","label"])]Line truncated
//# sourceMappingURL=harvester-1.0.6.umd.min.207.js.map
@@ -0,0 +1 @@
{"version":3,"file":"harvester-1.0.6.umd.min.207.js","mappings":"uPA6FOA,MAAM,qB,aAIJA,MAAM,W,uBAWDA,MAAM,iB,GAEJA,MAAM,c,GAAaC,EAAAA,EAAAA,oBAAc,SAAX,MAAO,G,GAIpCD,MAAM,S,iGArBbE,EAAAA,EAAAA,oBA2BM,MA3BNC,EA2BM,CA1BMC,EAAAC,eAAiBD,EAAAE,qBAAkB,kBAA7CJ,EAAAA,EAAAA,oBAEK,KAAAK,GAAAC,EAAAA,EAAAA,iBADAJ,EAAAC,cAAY,qCAEjBJ,EAAAA,EAAAA,oBAgBM,MAhBNQ,EAgBM,EAdJC,EAAAA,EAAAA,YAaOC,EAAAC,OAAA,SAXJC,qBAAsBC,EAAAD,qBACtBE,oBAAqBD,EAAAC,sBAHxB,IAaO,CARKX,EAAAE,qBAAkB,kBAA5BJ,EAAAA,EAAAA,oBAEK,KAAAc,GAAAR,EAAAA,EAAAA,iBADAJ,EAAAC,cAAY,wBAEjBH,EAAAA,EAAAA,oBAAuE,OAAAe,GAAAT,EAAAA,EAAAA,iBAAvDG,EAAAO,EAAE,6CAAD,KACjBjB,EAAAA,EAAAA,oBAGO,OAHPkB,EAGO,6CAFFR,EAAAO,EAAE,6CAA8CJ,EAAAD,uBAAwB,IAC3E,IAAAZ,EAAAA,EAAAA,oBAAuE,OAAvEmB,EAAuE,CAA9CC,GAAc,2CAAGP,EAAAC,qBAAmB,aAInEd,EAAAA,EAAAA,oBAKM,MALNqB,EAKM,EAJJC,EAAAA,EAAAA,aAGEC,EAAA,CAFCC,WAAYX,EAAAY,mBACZ,cAAatB,EAAAuB,Y,mEA9GtB,GACEC,WAAY,CAAEC,cAAaA,EAAAA,GAC3BC,MAAY,CAIVzB,aAAc,CACZ0B,KAASC,OACTC,QAA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Q,CAAC,YAAY,qBAEzF,Q,gFCuOOrD,MAAM,iB,GAMFA,MAAM,e,6BAoBXA,MAAM,iB,qBAY+BC,EAAAA,EAAAA,oBAAqC,KAAlCD,MAAM,2BAAyB,W,8HAtC3EE,EAAAA,EAAAA,oBAwCM,MAxCNC,EAwCM,CAtCIuD,EAAA8B,QAAK,kBADbtB,EAAAA,EAAAA,aAWSuB,EAAA,C,MATPC,MAAM,QACN5B,MAAA,oB,wBAEA,IAKM,EALN7D,EAAAA,EAAAA,oBAKM,MALNM,EAKM,6CAJDI,EAAAO,EAAE,kCAAmC,IAAC,IAAAjB,EAAAA,EAAAA,oBAGF,KAFrC0F,KAAK,IACJC,QAAKC,EAAA,KAAAA,EAAA,OAAAC,IAAEhF,EAAAiF,QAAAjF,EAAAiF,UAAAD,M,qBACNnF,EAAAO,EAAE,4BAAD,Q,6DAGTjB,EAAAA,EAAAA,oBAOE,UALA+F,IAAI,QACHhG,OAAKuD,EAAAA,EAAAA,gBAAA,CAAA0C,QAAGvC,EAAAuC,QAAOC,OAAA,IACfC,IAAKrF,EAAAsF,WACNC,YAAY,IACZC,UAAU,M,sBALD5C,EAAA8B,SAOA9B,EAAAuC,UAAO,kBAAlB/F,EAAAA,EAAAA,oBAEM,MAAAc,EAAA,EADJO,EAAAA,EAAAA,aAAWgF,OAAA,+BAGJ7C,EAAAuC,SAAYvC,EAAA8B,OAauD,iCAblD,kBAD1BtF,EAAAA,EAAAA,oBAeM,MAfNe,EAeM,EALJhB,EAAAA,EAAAA,oBAI8E,KAH3E0F,KAAM7E,EAAA0F,WACPC,OAAO,SACPC,IAAI,Line truncated
@@ -0,0 +1,14 @@
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]||[]).push([[304],{60090:function(e,t,o){"use strict";o.d(t,{A:function(){return p}});var a=o(9274);const n={key:0,class:"label"},i={class:"text-label"},l={class:"value"};function r(e,t,o,r,s,d){return d.isView?((0,a.openBlock)(),(0,a.createElementBlock)("div",n,[(0,a.createElementVNode)("div",i,[(0,a.renderSlot)(e.$slots,"name",{},(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(o.name),1)]),!0)]),(0,a.createElementVNode)("div",l,[(0,a.renderSlot)(e.$slots,"value",{},(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(d.displayValue),1)]),!0)])])):(0,a.renderSlot)(e.$slots,"default",{key:1},void 0,!0)}var s=o(14220),d={name:"InputOrDisplay",props:{name:{type:String,required:!0},value:{type:[Number,String,Array,void 0],default:""},mode:{type:String,default:"edit"}},computed:{isView(){return this.mode===s.nW},displayValue(){return Array.isArray(this.value)&&0===this.value.length?"":this.value}}},c=(o(18071),o(47433));const u=(0,c.A)(d,[["render",r],["__scopeId","data-v-a3d99010"]]);var p=u},39412:function(e,t,o){"use strict";o.d(t,{A:function(){return u}});var a=o(9274);const n={class:"label"},i={class:"text-label"},l={class:"value"};function r(e,t,o,r,s,d){return(0,a.openBlock)(),(0,a.createElementBlock)("div",n,[(0,a.createElementVNode)("div",i,[(0,a.renderSlot)(e.$slots,"name",{},(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(o.name),1)]),!0)]),(0,a.createElementVNode)("div",l,[(0,a.renderSlot)(e.$slots,"value",{},(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(o.value),1)]),!0)])])}var s={props:{name:{type:String,required:!0},value:{type:[Number,String,void 0],default:""}}},d=(o(88405),o(47433));const c=(0,d.A)(s,[["render",r],["__scopeId","data-v-357627fa"]]);var u=c},39996:function(e,t,o){"use strict";o.d(t,{A:function(){return j}});var a=o(9274);const n={class:"key-value"},i={key:0,class:"clearfix"},l={key:0,class:"icon icon-info"},r={class:"text-label"},s={key:0,class:"icon icon-info"},d={class:"text-label"},c=(0,a.createElementVNode)("span",null,null,-1),u=(0,a.createElementVNode)("div",{class:"kv-item key text-muted"}," — ",-1),p=(0,a.createElementVNode)("div",{class:"kv-item key text-muted"}," — ",-1),h={class:"kv-item key"},m=["onUpdate:modelValue","disabled","placeholder","data-testid","onPaste"],f=["data-testid"],v={key:0},g={key:1},y=["onUpdate:modelValue","disabled","type","placeholder","data-testid"],b=["data-testid"],w=["disabled","onClick"],k={key:1,class:"footer mt-20"},E=["disabled"],S={key:0,class:"mr-5 icon icon-spinner icon-spin icon-lg"};function x(e,t,o,x,N,C){const B=(0,a.resolveComponent)("Select"),D=(0,a.resolveComponent)("CodeMirror"),_=(0,a.resolveComponent)("TextAreaAutoGrow"),T=(0,a.resolveComponent)("FileSelector"),A=(0,a.resolveDirective)("clean-tooltip");return(0,a.openBlock)(),(0,a.createElementBlock)("div",n,[o.title||e.$slots.title?((0,a.openBlock)(),(0,a.createElementBlock)("div",i,[(0,a.renderSlot)(e.$slots,"title",{},(()=>[(0,a.createElementVNode)("h3",null,[(0,a.createTextVNode)((0,a.toDisplayString)(o.title)+" ",1),o.titleProtip?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("i",l,null,512)),[[A,o.titleProtip]]):(0,a.createCommentVNode)("",!0)])]))])):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("div",{class:"kv-container",style:(0,a.normalizeStyle)(C.containerStyle)},[N.rows.length||C.isView?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:0},[(0,a.createElementVNode)("label",r,[(0,a.createTextVNode)((0,a.toDisplayString)(C._keyLabel)+" ",1),C._protip&&!C.isView&&o.addAllowed?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("i",s,null,512)),[[A,C._protip]]):(0,a.createCommentVNode)("",!0)]),(0,a.createElementVNode)("label",d,(0,a.toDisplayString)(C._valueLabel),1),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(o.extraColumns,((t,o)=>((0,a.openBlock)(),(0,a.createElementBlock)("label",{key:o},[(0,a.renderSlot)(e.$slots,"label:"+t,{},(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(t),1)]))])))),128)),C.canRemove?(0,a.renderSlot)(e.$slots,"remove",{key:0},(()=>[c])):(0,a.createCommentVNode)("",!0)],64)):(0,a.createCommentVNode)("",!0),!N.rows.length&&C.isView?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[u,p],64)):((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,{key:2},(0,a.renderList)(C.filteredRows,((n,i)=>((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:i},[(0,a.createElementVNode)("div",h,[(0,a.renderSlot)(e.$slots,"key",{row:n,mode:o.mode,keyName:o.keyName,valueName:o.valueName,queueUpdate:e.queueUpdate,disabled:o.disabled},(()=>[o.keyOptions?((0,a.openBlock)(),(0,a.createBlock)(B,{key:0,ref_for:!0,ref:"key",value:n[o.keyName],"onUpdate:value":[e=>n[o.keyName]=e,e.queueUpdate],searchable:!0,disabled:o.disabled||C.isProtected(n.key),clearable:!1,taggable:o.keyTaggable,options:C.calculateOptioLine truncated
/*!
* vue-draggable-next v2.2.0
* (c) 2023 Anish George
* @license MIT
*/
/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
function n(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,a)}return o}function i(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function l(e){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function r(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},s.apply(this,arguments)}function d(e,t){if(null==e)return{};var o,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)o=i[a],t.indexOf(o)>=0||(n[o]=e[o]);return n}function c(e,t){if(null==e)return{};var o,a,n=d(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)o=i[a],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var u="1.14.0";function p(e){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var h=p(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),m=p(/Edge/i),f=p(/firefox/i),v=p(/safari/i)&&!p(/chrome/i)&&!p(/android/i),g=p(/iP(ad|od|hone)/i),y=p(/chrome/i)&&p(/android/i),b={capture:!1,passive:!1};function w(e,t,o){e.addEventListener(t,o,!h&&b)}function k(e,t,o){e.removeEventListener(t,o,!h&&b)}function E(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(o){return!1}return!1}}function S(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function x(e,t,o,a){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&E(e,t):E(e,t))||a&&e===o)return e;if(e===o)break}while(e=S(e))}return null}var N,C=/\s+/g;function B(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var a=(" "+e.className+" ").replace(C," ").replace(" "+t+" "," ");e.className=(a+(o?" "+t:"")).replace(C," ")}}function D(e,t,o){var a=e&&e.style;if(a){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in a||-1!==t.indexOf("webkit")||(t="-webkit-"+t),a[t]=o+("string"===typeof o?"":"px")}}function _(e,t){var o="";if("string"===typeof e)o=e;else do{var a=D(e,"transform");a&&"none"!==a&&(o=a+" "+o)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function T(e,t,o){if(e){var a=e.getElementsByTagName(t),n=0,i=a.length;if(o)for(;n<i;n++)o(a[n],n);return a}return[]}function A(){var e=document.scrollingElement;return e||document.documentElement}function V(e,t,o,a,n){if(e.getBoundingClientRect||e===window){var i,l,r,s,d,c,u;if(e!==window&&e.parentNode&&e!==A()?(i=e.getBoundingClientRect(),l=i.top,r=i.left,s=i.bottom,d=i.right,c=i.height,u=i.width):(l=0,r=0,s=window.innerHeight,d=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||o)&&e!==window&&(n=n||e.parentNode,!h))do{if(n&&n.getBoundingClientRect&&("none"!==D(n,"transform")||o&&"static"!==D(n,"position"))){var p=n.getBoundingClientRect();l-=p.top+parseInt(D(n,"border-top-width")),r-=p.left+parseInt(D(n,"border-left-width")),s=l+i.height,d=r+i.width;break}}while(n=n.parentNode);if(a&&e!==window){var m=_(n||e),f=m&&m.a,v=m&&m.d;m&&(l/=v,r/=f,u/=f,c/=v,s=l+c,d=r+u)}return{top:l,left:r,bottom:s,right:d,width:u,height:c}}}function O(e,t,o){var a=U(e,!0),n=V(e)[t];while(a){var i=V(a)[o],l=void 0;if(l="top"===o||"left"===o?n>=i:n<=i,!l)return a;if(a===A())break;a=U(a,!1)}return!1}function I(e,t,o,a){var n=0,i=0,l=e.children;while(i<l.length){if("none"!==l[i].style.display&&l[i]!==We.ghost&&(a||l[i]!==We.dragged)&&x(l[i],o.draggable,e,!1)){if(n===t)return l[i];n++}i++}return null}function L(e,t){var o=e.lastElementChild;while(o&&(o===We.ghost||"none"===D(o,"display")||t&&!E(o,t)))o=o.previousElementSibling;return o||null}function M(e,t){var o=0;if(!e||!e.parentNode)return-1;while(e=e.previousElementSibling)"TEMPLATE"===e.nodeName.toUpperCase()||e===We.clone||t&&!E(e,t)||o++;return o}function $(e){var t=0,o=0,a=A();if(e)do{var n=_(e),i=n.a,l=n.d;t+=e.scrollLeft*i,o+=e.scrollTop*l}while(e!==a&&(e=e.parentNode));return[t,o]}function P(e,t){for(var o in e)if(e.hasOwnProperty(o))for(varLine truncated
//# sourceMappingURL=harvester-1.0.6.umd.min.304.js.map
@@ -0,0 +1 @@
{"version":3,"file":"harvester-1.0.6.umd.min.304.js","mappings":"6PAsCIA,MAAM,S,GAEDA,MAAM,c,GAKNA,MAAM,S,+BARLC,EAAAC,SAAM,kBADdC,EAAAA,EAAAA,oBAcM,MAdNC,EAcM,EAVJC,EAAAA,EAAAA,oBAIM,MAJNC,EAIM,EAHJC,EAAAA,EAAAA,YAEOC,EAAAC,OAAA,WAFP,IAEO,6CADFC,EAAAC,MAAI,YAGXN,EAAAA,EAAAA,oBAIM,MAJNO,EAIM,EAHJL,EAAAA,EAAAA,YAEOC,EAAAC,OAAA,YAFP,IAEO,6CADFR,EAAAY,cAAY,eAIrBN,EAAAA,EAAAA,YAAeC,EAAAC,OAAA,WAAAK,IAAA,QAAAC,GAAA,E,gBAhDjB,GACEJ,KAAO,iBACPK,MAAO,CACLL,KAAM,CACJM,KAAUC,OACVC,UAAU,GAEZC,MAAO,CACLH,KAAS,CAACI,OAAQH,OAAQI,WAAOP,GACjCQ,QAAS,IAEXC,KAAM,CACJP,KAASC,OACTK,QAAS,SAGbE,SAAU,CACRvB,MAAAA,GACE,OAAOwB,KAAKF,OAASG,EAAAA,EACvB,EAEAd,YAAAA,GACE,OAAIS,MAAMM,QAAQF,KAAKN,QAAgC,IAAtBM,KAAKN,MAAMS,OACnC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D,cAWPlD,EAAA6E,oBAAsB7E,EAAA4F,cAAgBrG,EAAAC,QAAUD,EAAAsG,kBAAkB9C,EAAI/C,EAAAkD,cAAS,kBADvFI,EAAAA,EAAAA,aAMEwC,EAALine truncated
@@ -0,0 +1,2 @@
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]||[]).push([[37],{49037:function(e){const t=[{generic:{tip:"Tip",resourceExternalLinkTips:"External Link",namespace:"Namespace",notReady:"Not Ready",labels:"Labels",inProgress:"In Progress",basic:"Basic",loading:"Loading..."},unsupported:{serverVersion:"Current version: <code>{serverVersion}</code>",description:"Harvester ui only supports Harvester cluster version greater or equal to 1.3.0.",learnMore:'Learn more about Harvester from the <a target="_blank" href="https://harvesterhci.io/" rel="noopener noreferrer nofollow">Harvester Web Site</a> or read the <a target="_blank" href="https://docs.harvesterhci.io/" rel="noopener noreferrer nofollow">Harvester Docs</a>'},nav:{group:{networks:"Networks",backupAndSnapshot:"Backup and Snapshots",Monitoring:"Monitoring",Logging:"Logging","Monitoring and Logging":"Monitoring and Logging"}},resourceTable:{groupBy:{device:"Group by Device"}},validation:{arrayCountRequired:"At least {count} {key} {count, plural, =1 {is} other {are}} required, and {key} can not be empty."},members:{clusterMemebership:"Cluster Membership",projectMembership:"Project Membership"},asyncButton:{restart:{action:"Save and Restart",success:"Restarted",waiting:"Restarting&hellip;"}},harvester:{branding:{logos:{tip:"Upload a logo to replace the Harvester logo in the top-level navigation header. Image height should be 21 pixels with a max width of 200 pixels. Max file size is 20KB. Accepted formats: JPEG, PNG, SVG."},favicon:{tip:"Upload an icon to replace the Harvester favicon in the browser tab. Max file size is 20KB"}},productLabel:"Harvester",modal:{backup:{success:"Backup { backUpName } has been initiated.",addBackup:"Add Backup"},quota:{editVMQuota:"Edit VM Quota",editQuota:"Edit Quota",bannerMessage:"Set to empty string or 0 to remove total snapshot size quota."},restore:{success:"Restore { name } created successfully.",title:"Backup and Restore",selectBackup:"Select Backup",message:{backup:"Please select the backup that needs to be restored."}},createTemplate:{title:"Generate Template",name:"Name",description:"Description",message:{tip:"Please enter a template name!",success:"Template { templateName } created successfully.",failed:"Failed generated template!"}},schedule:{title:"Create Schedule",message:{tip:"Please enter a schedule name!",success:"Schedule { name } created successfully.",failed:"Failed create schedule!"}},cloneVM:{title:"Clone Virtual Machine",name:"New Virtual Machine Name",type:"Clone volume data",action:{create:"Create",clone:"Clone"},message:{tip:"Please enter a virtual machine name!",success:"Virtual machine { name } cloned successfully.",failed:"Failed clone virtual machine!"}},exportImage:{title:"Export to Image",name:"Name",namespace:"Namespace",message:{success:"Image { name } created successfully."}},migration:{failedMessage:"Latest migration failed!",title:"Migration",fields:{nodeName:{label:"Target Node",placeholder:"Choose Target Node"}}},ejectCDROM:{title:"Eject CD-ROM",warnTip:"Eject volume will restart the virtual machine.",operationTip:"Select the volume you want to delete:",delete:"Delete"},bundle:{title:"Generate a Support Bundle",url:"Issue URL",description:"Description",requiredDesc:"Description is required!",titleDescription:"Collect system-related logs in Harvester to help with troubleshooting and support."},hotplug:{success:"Volume { diskName } is mounted to the virtual machine { vm }.",title:"Add Volume"},hotunplug:{success:"Volume { name } is detached successfully."},snapshot:{title:"Take Snapshot",name:"Name",message:{success:"Take Snapshot { name } successfully."}},volumeClone:{title:"Clone Volume",name:"Name",message:{success:"New Volume { name } cloned successfully."}},restoreSnapshot:{title:"Restore Snapshot",name:"New Volume Name",success:"New Volume { name } restored successfully."},vmSnapshot:{title:"Take Virtual Machine Snapshot",name:"Name",success:"Take virtual machine Snapshot { name } successfully."},restart:{title:"Restart Virtual Machine",tip:"Restart the virtual machine for configuration changes to take effect.",cancel:"Save"}},notification:{title:{succeed:"Succeed",info:"Info",warning:"Warning",error:"Error"}},action:{createVM:"Create Virtual Machine",start:"Start",restart:"Restart",softreboot:"Soft Reboot",stop:"Stop",pause:"Pause",deepClone:"Clone",shallowClone:"Clone Template",unpause:"Unpause",encryptImage:"Encrypt Image",decryptImage:"Decrypt Image",ejectCDROM:"Eject CD-ROM",editVMQuota:"Edit Virtual Machine Quota",launchFormTemplate:"Launch instance from template",modifyTemplate:"Modify template (Create new version)",setDefaultVersion:"Set default version",addTemplateVersion:"Add template version",backup:"Take Backup",createSchedule:"Create Schedule",restore:"Restore",restoreNewVM:"Restore New",resumeSchedule:"Resume",suspendSchedule:"Suspend",restoreExistingVM:"Replace Existing",migrate:"Line truncated
//# sourceMappingURL=harvester-1.0.6.umd.min.37.js.map
@@ -0,0 +1 @@
{"version":3,"file":"harvester-1.0.6.umd.min.37.js","mappings":"8KAAA,MAAMA,EAAM,CAAC,CAAE,QAAU,CAAE,IAAM,MAAO,yBAA2B,gBAAiB,UAAY,YAAa,SAAW,YAAa,OAAS,SAAU,WAAa,cAAe,MAAQ,QAAS,QAAU,cAAgB,YAAc,CAAE,cAAgB,gDAAiD,YAAc,kFAAmF,UAAY,8QAA4R,IAAM,CAAE,MAAQ,CAAE,SAAW,WAAY,kBAAoB,uBAAwB,WAAa,aAAc,QAAU,UAAW,yBAAyB,2BAA8B,cAAgB,CAAE,QAAU,CAAE,OAAS,oBAAuB,WAAa,CAAE,mBAAqB,qGAAuG,QAAU,CAAE,mBAAqB,qBAAsB,kBAAoB,sBAAwB,YAAc,CAAE,QAAU,CAAE,OAAS,mBAAoB,QAAU,YAAa,QAAU,uBAA0B,UAAY,CAAE,SAAW,CAAE,MAAQ,CAAE,IAAM,6MAA+M,QAAU,CAAE,IAAM,8FAAiG,aAAe,YAAa,MAAQ,CAAE,OAAS,CAAE,QAAU,4CAA6C,UAAY,cAAgB,MAAQ,CAAE,YAAc,gBAAiB,UAAY,aAAc,cAAgB,iEAAmE,QAAU,CAAE,QAAU,yCAA0C,MAAQ,qBAAsB,aAAe,gBAAiB,QAAU,CAAE,OAAS,wDAA2D,eAAiB,CAAE,MAAQ,oBAAqB,KAAO,OAAQ,YAAc,cAAe,QAAU,CAAE,IAAM,gCAAiC,QAAU,kDAAmD,OAAS,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S,SAAU,SAAW,WAAY,SAAW,WAAY,UAAY,aAAc,iBAAmB,qBAAsB,eAAiB,qBAAwB,KAAO,CAAE,IAAM,WAAY,KAAO,CAAE,MAAQ,QAAU,gBAAkB,CAAE,MAAQ,oBAAsB,gBAAkB,CAAE,MAAQ,aAAc,QAAU,+CAAiD,kBAAoB,CAAE,MAAQ,sBAAwB,eAAiB,CAAE,MAALine truncated
@@ -0,0 +1,2 @@
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]||[]).push([[395],{67740:function(e,t,r){"use strict";r.d(t,{A:function(){return h}});var s=r(9274);const o={class:"filter"},a={key:0,class:"banner-item bg-warning"},n={ref:"actionDropDown",class:"btn bg-primary mr-10"},i={class:"filter-popup"};function l(e,t,r,l,c,p){const d=(0,s.resolveComponent)("LabeledSelect"),u=(0,s.resolveComponent)("v-dropdown");return(0,s.openBlock)(),(0,s.createElementBlock)("div",o,[c.parentSriov?((0,s.openBlock)(),(0,s.createElementBlock)("span",a,[(0,s.createTextVNode)((0,s.toDisplayString)(c.parentSriov)+" ",1),(0,s.createElementVNode)("i",{class:"icon icon-close",onClick:t[0]||(t[0]=e=>p.remove())})])):(0,s.createCommentVNode)("",!0),(0,s.createVNode)(u,{"popper-class":"filter-parent-sriov",trigger:"click",placement:"bottom-end",distance:20},{popper:(0,s.withCtx)((()=>[(0,s.createElementVNode)("div",i,[(0,s.createElementVNode)("div",null,[(0,s.createVNode)(d,{value:c.parentSriov,"onUpdate:value":t[1]||(t[1]=e=>c.parentSriov=e),options:r.parentSriovOptions,searchable:!0,label:r.label},null,8,["value","options","label"])])])])),default:(0,s.withCtx)((()=>[(0,s.renderSlot)(e.$slots,"header",{},(()=>[(0,s.createElementVNode)("button",n,[(0,s.renderSlot)(e.$slots,"title",{},(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(r.label),1)]),!0)],512)]),!0)])),_:3})])}var c=r(40408),p={name:"HarvesterFilterLabel",emits:["change-rows"],components:{LabeledSelect:c.A},props:{rows:{type:Array,required:!0},parentSriovOptions:{type:Array,required:!0},parentSriovLabel:{type:String,required:!0},label:{type:String,required:!0}},data(){return{parentSriov:this.$route.query?.parentSriov||null}},methods:{remove(){this.parentSriov=null,this.filterRows()},filterRows(){const e=this.rows.filter((e=>{if(!this.parentSriov)return!0;const t=e.labels[this.parentSriovLabel];return t===this.parentSriov}));this.$emit("change-rows",e,this.parentSriov)}},watch:{parentSriov:{deep:!0,immediate:!0,handler(){this.filterRows()}}}},d=(r(73876),r(66446),r(47433));const u=(0,d.A)(p,[["render",l],["__scopeId","data-v-f3c890e8"]]);var h=u},79428:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return w}});var s=r(9274);const o=["onClick"],a=["onClick"],n={key:0},i={key:1,class:"text-muted"};function l(e,t,r,l,c,p){const d=(0,s.resolveComponent)("FilterBySriov"),u=(0,s.resolveComponent)("ResourceTable"),h=(0,s.resolveDirective)("clean-html"),v=(0,s.resolveDirective)("trim-whitespace");return(0,s.openBlock)(),(0,s.createBlock)(u,{headers:c.headers,schema:r.schema,rows:c.filterRows,"use-query-params-for-simple-filtering":!0,"sort-generation-fn":p.sortGenerationFn,"rows-per-page":10},{"group-by":(0,s.withCtx)((({group:t})=>[(0,s.withDirectives)(((0,s.openBlock)(),(0,s.createElementBlock)("div",{ref:t.key,class:"group-tab"},[p.groupIsAllEnabled(t.rows)?((0,s.openBlock)(),(0,s.createElementBlock)("button",{key:0,type:"button",class:"btn btn-sm role-secondary mr-5",onClick:e=>{p.disableGroup(t.rows),e.target.blur()}},(0,s.toDisplayString)(e.t("harvester.pci.disableGroup")),9,o)):((0,s.openBlock)(),(0,s.createElementBlock)("button",{key:1,type:"button",class:"btn btn-sm role-secondary mr-5",onClick:e=>{p.enableGroup(t.rows),e.target.blur()}},(0,s.toDisplayString)(e.t("harvester.pci.enableGroup")),9,a)),(0,s.withDirectives)((0,s.createElementVNode)("span",null,null,512),[[h,t.key]])])),[[v]])])),"cell:claimed":(0,s.withCtx)((({row:e})=>[e.isEnabled?((0,s.openBlock)(),(0,s.createElementBlock)("span",n,(0,s.toDisplayString)(e.claimedBy),1)):((0,s.openBlock)(),(0,s.createElementBlock)("span",i,"—"))])),"more-header-middle":(0,s.withCtx)((()=>[(0,s.createVNode)(d,{ref:"filterByParentSRIOV","parent-sriov-options":p.parentSriovOptions,"parent-sriov-label":p.parentSriovLabel,label:e.t("harvester.sriov.parentSriov"),rows:c.rows,onChangeRows:p.changeRows},null,8,["parent-sriov-options","parent-sriov-label","label","rows","onChangeRows"])])),_:1},8,["headers","schema","rows","sort-generation-fn"])}var c=r(81651),p=r(68774),d=r(88339),u=r(2602),h=r(32766),v=r(67740),m={name:"ListPciDevices",components:{ResourceTable:c.A,FilterBySriov:v.A},inheritAttrs:!1,props:{schema:{type:Object,required:!0},devices:{type:Array,required:!0}},async fetch(){const e=this.$store.getters["currentProduct"].inStore,t={pciclaims:this.$store.dispatch(`${e}/findAll`,{type:h.rk.PCI_CLAIM}),sriovs:this.$store.dispatch(`${e}/findAll`,{type:h.rk.SR_IOV})};await(0,d.kR)(t)},data(){const e=this.$store.getters["isSingleProduct"],t=[{...p.c4},p.X0,{name:"description",labelKey:"tableHeaders.description",value:"status.description",sort:["status.description"]},{name:"node",labelKey:"tableHeaders.node",value:"status.nodeName",sort:["status.nodeName"]},{name:"address",label:"Address",value:"status.address",sort:["status.address"]},{name:"vendorid",label:"Vendor ID",value:"status.vendorId",sort:["status.vendorId","status.deviceILine truncated
//# sourceMappingURL=harvester-1.0.6.umd.min.395.js.map
@@ -0,0 +1 @@
{"version":3,"file":"harvester-1.0.6.umd.min.395.js","mappings":"uPAuEOA,MAAM,U,SAGPA,MAAM,0B,GAgBFC,IAAI,iBACJD,MAAM,wB,GASHA,MAAM,gB,wIA7BjBE,EAAAA,EAAAA,oBAyCM,MAzCNC,EAyCM,CAvCIC,EAAAC,cAAW,kBADnBH,EAAAA,EAAAA,oBAQO,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QtC,EAAAsC,OACRzB,KAAMjC,EAAA4C,WACN,yCAAuC,EACvC,qBAAoBrC,EAAAoD,iBACpB,gBAAe,I,CAEL,YAAQ5C,EAAAA,EAAAA,UACjB,EADoB6C,WAAK,0CACzB9D,EAAAA,EAAAA,oBAsBM,OArBHD,IAAK+D,EAAMC,IAEZjE,MAAM,a,CAGEW,EAAAuD,kBAAkBF,EAAM3B,QAAI,kBADpCnC,EAAAA,EAAAA,oBAOS,U,MALPoC,KAAK,SACLtC,MAAM,iCACLQ,QAAO2D,IAAIxD,EAAAyD,aAAaJ,EAAM3B,MAAO8B,EAAEE,OAAOC,MAAM,I,qBAElDzC,EAAA0C,EAAE,+BAAD,EAAApE,MAAA,kBAEND,EAAAA,EAAAA,oBAOS,U,MALPoC,KAAK,SACLtC,MAAM,iCACLQ,QAAO2D,IAAIxD,EAAA6D,YAAYR,EAAM3B,MAAO8B,EAAEE,OAAOC,MAAM,I,qBAEjDzC,EAAA0C,EAAE,8BAAD,EAAAjE,KAAA,qBAENC,EAAAA,Line truncated
@@ -0,0 +1,2 @@
"use strict";(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]||[]).push([[431],{73975:function(e,t,s){s.d(t,{v6:function(){return p},wM:function(){return S}});var a=s(96261),i=s(20246),r=s.n(i),n=s(46343),o=s.n(n),c=s(76978),l=s(35664),d=s(2602),h=s(32766),m=s(66490),u=s(48249);const p={package_update:!0,packages:["qemu-guest-agent"],runcmd:[["systemctl","enable","--now","qemu-guest-agent.service"]]},g={default:"qemu-guest-agent.service"},S=[{bus:"usb",name:"tablet",type:"tablet"}],f={EXISTING_ALL:"EXISTING_ALL",EXISTING_ONLY_ANNOTATION:"EXISTING_ANNOTATION",EXISTING_ONLY_CLOUD:"EXISTING_CLOUD"};t.Ay={methods:{hasCloudConfigComment(e){const t=e?a.Ay.parseDocument(e):a.Ay.parseDocument({}),s=t?.contents?.items||[];let i=!1;return("cloud-config"===t?.comment||t?.comment?.includes("cloud-config\n"))&&(i=!0),("cloud-config"===t?.commentBefore||t?.commentBefore?.includes("cloud-config\n"))&&(i=!0),s.map((e=>{const t=e.key;("cloud-config"===t?.commentBefore||t?.commentBefore?.includes("cloud-config\n"))&&(i=!0)})),i},getSSHValue(e){const t=this.$store.getters["currentProduct"].inStore,s=this.$store.getters[`${t}/all`](h.rk.SSH)||[];return s.find((t=>t.id===e))?.spec?.publicKey||void 0},getOsType(e){return e.metadata?.labels?.[d.r.OS]},getMatchQGA(e){const t=(0,c.o8)(p);let s=!1;return u.OS.forEach((t=>{t.match&&(s=t.match.find((t=>t===e)))})),t.runcmd[0][3]=s?g[e]:g["default"],t},getSimilarRuncmd(e){const t=(0,c.o8)(p);return t.runcmd[0][3]="openSUSE"===e?g["default"]:g["suse"],t.runcmd[0]},hasInstallAgent(e,t,s){let a={};const i=this.getMatchQGA(t);try{a=r().load(e)||{}}catch(n){return new Error("Function(hasInstallAgent) error"),s}return a?.packages?.includes("qemu-guest-agent")&&!!a?.runcmd?.find((e=>Array.isArray(e)&&e.join("-")===i.runcmd[0].join("-")))},isInstallUSBTablet(e){const t=e?.template?.spec?.domain?.devices?.inputs;return!!Array.isArray(t)&&!!t.find((e=>o()(e,S[0])))},isEfiEnabled(e){return!!e?.template?.spec?.domain?.firmware?.bootloader?.efi},isTpmEnabled(e){return!!e?.template?.spec?.domain?.devices?.tpm},isSecureBoot(e){return!!e?.template?.spec?.domain?.firmware?.bootloader?.efi?.secureBoot},isCpuPinning(e){return!!e?.template?.spec?.domain?.cpu?.dedicatedCpuPlacement},getCloudInitNoCloud(e){const t=this.getSecret(e);let s=t?.decodedData?.userdata,a=t?.decodedData?.networkdata;const i=e?.template?.spec?.volumes?.find((e=>"cloudinitdisk"===e.name))?.cloudInitNoCloud||{};return i?.userData&&(s=i.userData,this.saveUserDataAsClearText=!0),i?.networkData&&(a=i.networkData,this.saveNetworkDataAsClearText=!0),{userData:s,networkData:a}},getSecret(e){const t=e?.template?.spec?.volumes?.find((e=>"cloudinitdisk"===e.name))?.cloudInitNoCloud||{},s=this.$store.getters["currentProduct"].inStore,a=this.$store.getters[`${s}/all`](l.bB)||[],i=t?.secretRef?.name||t?.networkDataSecretRef?.name,r=a.find((e=>e.metadata.name===i));return r},getAccessCredentials(e){const t=this.$store.getters["currentProduct"].inStore,s=this.$store.getters[`${t}/all`](l.bB)||[],a=e?.template?.spec?.accessCredentials||[],i=JSON.parse(e.template.metadata?.annotations?.[d.r.DYNAMIC_SSHKEYS_NAMES]||"[]");return a.map((e=>{const t=e.userPassword?"userPassword":"sshPublicKey",a=e[t]?.source?.secret?.secretName,r=s.find((e=>e.metadata.name===a)),n={source:t,username:"",newPassword:"",users:[],sshkeys:[],secretName:a,secretRef:r};if(r)if("userPassword"===t){const e=Object.keys(r?.data)[0],t=r.decodedData[e];n.username=e,n.newPassword=t}else{const s=e[t].propagationMethod.qemuGuestAgent.users,r=i?.[a];n.users=s,n.sshkeys=r}else n.secretRef=void 0;return n}))},getRootImageId(e){const t=(0,m.v)(e);return t?.[0]?.metadata?.annotations?.[d.r.IMAGE_ID]||""},getSSHFromAnnotation(e){const t=e?.template?.metadata?.annotations?.[d.r.SSH_NAMES]||"[]";return JSON.parse(t)},convertToJson(e=""){let t={};try{t=r().load(e)}catch(s){new Error("Function(convertToJson) error")}return t},getSSHFromUserData(e){return this.convertToJson(e)?.ssh_authorized_keys||[]},compareSSHValue(e="",t=""){const s=/(\r\n\t|\n|\r\t)|(\s*)/gm;return e.replace(s,"")===t.replace(s,"")},mergeAllSSHs(e){const t=this.getSSHFromAnnotation(e),{userScript:s}=this.getCloudInitNoCloud(e);if(!t?.length<0&&!s)return[];let a=[];const i=this.$store.getters["currentProduct"].inStore,r=this.$store.getters[`${i}/all`](h.rk.SSH)||[];a=(t||[]).map((e=>{const t=r.find((t=>t.id===e));return t?{id:t.id,data:t,type:f.EXISTING_ALL}:{id:e,data:e,type:f.EXISTING_ONLY_ANNOTATION}}));const n=this.getSSHFromUserData(s);return n.map((e=>{const t=r.find((t=>this.compareSSHValue(e,t.spec?.publicKey)));t&&!a.find((e=>e.id===t.id))?a.push({id:t.id,data:t,type:f.EXISTING_ALL}):t||a.push({id:"Unknown",data:e,type:f.EXISTING_ONLY_CLOUD})})),a}}}},48249:function(e,t,s){s.d(t,{OS:function(){return $},PO:function(){return D}});var a=s(96261),i=s(20246),r=s.n(i),n=s(46343),o=s.n(n),c=s(3514),l=s.n(c),d=s(88088),h=s.n(d),m=s(743Line truncated
//# sourceMappingURL=harvester-1.0.6.umd.min.431.js.map
@@ -0,0 +1 @@
{"version":3,"file":"harvester-1.0.6.umd.min.431.js","mappings":"iXAUO,MAAMA,EAAW,CACtBC,gBAAgB,EAChBC,SAAgB,CAAC,oBACjBC,OAAgB,CACd,CACE,YACA,SACA,QACA,8BAKOC,EAAU,CAAEC,QAAS,4BAErBC,EAAa,CAAC,CACzBC,IAAM,MACNC,KAAM,SACNC,KAAM,WAGKC,EAAoB,CAC/BC,aAA0B,eAC1BC,yBAA0B,sBAC1BC,oBAA0B,kBAG5B,MACEC,QAAS,CACPC,qBAAAA,CAAsBC,GAEpB,MAAMC,EAAcD,EAAaE,EAAAA,GAAAA,cAAmBF,GAAcE,EAAAA,GAAAA,cAAmB,CAAC,GAChFC,EAAQF,GAAaG,UAAUD,OAAS,GAE9C,IAAIE,GAAQ,EAkBZ,OAhB6B,iBAAzBJ,GAAaK,SAA8BL,GAAaK,SAASC,SAAS,qBAC5EF,GAAQ,IAGyB,iBAA/BJ,GAAaO,eAAoCP,GAAaO,eAAeD,SAAS,qBACxFF,GAAQ,GAGVF,EAAMM,KAAKC,IACT,MAAMC,EAAMD,EAAKC,KAEU,iBAAvBA,GAAKH,eAAoCG,GAAKH,eAAeD,SAAS,qBACxEF,GAAQ,EACV,IAGKA,CACT,EAEAO,WAAAA,CAAYC,GACV,MAAMC,EAAUC,KAAKC,OAAOC,QAAQ,kBAAkBH,QAChDI,EAAOH,KAAKC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AK,CAAC,CACjBoG,MAAO,UACPC,MAAO,WACN,CACDD,MAAO,QACPC,MLine truncated
@@ -0,0 +1,2 @@
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]||[]).push([[443],{68732:function(e,t,r){"use strict";r.d(t,{A:function(){return b}});var a=r(9274);const o={class:"consumption-gauge"},l={key:0},n={class:"numbers"},s={key:0},c={key:1},i={class:"numbers-stats"},d={class:"percentage"},p=(0,a.createElementVNode)("i",null,"/ ",-1),u={class:"mt-10"};function m(e,t,r,m,h,f){const y=(0,a.resolveComponent)("PercentageBar");return(0,a.openBlock)(),(0,a.createElementBlock)("div",o,[r.resourceName&&!r.usedAsResourceName?((0,a.openBlock)(),(0,a.createElementBlock)("h3",l,(0,a.toDisplayString)(r.resourceName),1)):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("div",n,[(0,a.renderSlot)(e.$slots,"title",{amountTemplateValues:f.amountTemplateValues,formattedPercentage:f.formattedPercentage},(()=>[r.usedAsResourceName?((0,a.openBlock)(),(0,a.createElementBlock)("h4",s,(0,a.toDisplayString)(r.resourceName),1)):((0,a.openBlock)(),(0,a.createElementBlock)("span",c,(0,a.toDisplayString)(e.t("node.detail.glance.consumptionGauge.used")),1)),(0,a.createElementVNode)("span",i,[(0,a.createTextVNode)((0,a.toDisplayString)(e.t("node.detail.glance.consumptionGauge.amount",f.amountTemplateValues))+" ",1),(0,a.createElementVNode)("span",d,[p,(0,a.createTextVNode)((0,a.toDisplayString)(f.formattedPercentage),1)])])]))]),(0,a.createElementVNode)("div",u,[(0,a.createVNode)(y,{modelValue:f.percentageBarValue,"color-stops":r.colorStops},null,8,["modelValue","color-stops"])])])}var h=r(12243),f=r(92043),y={components:{PercentageBar:h.A},props:{resourceName:{type:String,default:""},capacity:{type:Number,required:!0},used:{type:Number,required:!0},units:{type:String,default:""},numberFormatter:{type:Function,default:e=>Number.isInteger(e)?e:e.toFixed(2)},colorStops:{type:Object,default:null},usedAsResourceName:{type:Boolean,defaut:!1}},computed:{displayUnits(){return this.units?` ${this.units}`:""},percentageBarValue(){return this.used&&this.capacity?100*this.used/this.capacity:0},amountTemplateValues(){return{used:this.numberFormatter(this.used||0),total:this.numberFormatter(this.capacity||0),unit:this.displayUnits}},formattedPercentage(){return(0,f.l9)(this.percentageBarValue)}}},g=(r(95606),r(47433));const v=(0,g.A)(y,[["render",m]]);var b=v},38076:function(e,t,r){"use strict";r.d(t,{A:function(){return d}});var a=r(9274);function o(e,t,r,o,l,n){return r.text?((0,a.openBlock)(),(0,a.createElementBlock)("a",{key:0,class:(0,a.normalizeClass)(["copy-to-clipboard-text",{copied:l.copied,plain:r.plain}]),href:"#",onClick:t[0]||(t[0]=(...e)=>n.clicked&&n.clicked(...e))},[(0,a.createTextVNode)((0,a.toDisplayString)(r.text)+" ",1),(0,a.createElementVNode)("i",{class:(0,a.normalizeClass)(["icon",{"icon-copy":!l.copied,"icon-checkmark":l.copied}])},null,2)],2)):(0,a.createCommentVNode)("",!0)}var l=r(48881),n=r(99726),s={emits:["error"],props:{text:{type:String,required:!0},plain:{type:Boolean,default:!1}},data(){return{copied:!1}},methods:{clicked(e){this.copied||(e.preventDefault(),(0,l.e)(this.text).then((()=>{this.copied=!0;let t=e.target;"I"===t.tagName&&(t=t.parentElement||t),setTimeout((()=>{this.copied=!1}),500)})).catch((e=>{this.$emit("error",(0,n.rz)(e))})))}}},c=(r(48734),r(47433));const i=(0,c.A)(s,[["render",o],["__scopeId","data-v-d8c131ea"]]);var d=i},12243:function(e,t,r){"use strict";r.d(t,{A:function(){return y}});var a=r(9274);const o={class:"percentage-bar"},l={key:0,class:"ml-5 percentage-value"};function n(e,t,r,n,s,c){const i=(0,a.resolveComponent)("Bar");return(0,a.openBlock)(),(0,a.createElementBlock)("span",o,[(0,a.createVNode)(i,{percentage:r.modelValue,"primary-color":c.primaryColor,slices:r.slices},null,8,["percentage","primary-color","slices"]),r.showPercentage?((0,a.openBlock)(),(0,a.createElementBlock)("span",l,(0,a.toDisplayString)(c.formattedPercentage),1)):(0,a.createCommentVNode)("",!0)])}function s(e,t,r,o,l,n){return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:"bar",style:(0,a.normalizeStyle)(n.barStyle)},[(0,a.createElementVNode)("div",{class:"indicator",style:(0,a.normalizeStyle)(n.indicatorStyle)},null,4),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(n.sliceStyles,((e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:t,class:"slice",style:(0,a.normalizeStyle)(e)},null,4)))),128))],4)}var c={props:{percentage:{type:Number,required:!0},primaryColor:{type:String,default:"--primary"},secondaryColor:{type:String,default:"--border"},slices:{type:Array,default:()=>[]}},computed:{indicatorStyle(){return{width:`${this.percentage}%`,backgroundColor:`var(${this.primaryColor})`}},barStyle(){return{backgroundColor:`var(${this.secondaryColor})`}},sliceStyles(){return this.slices.map((e=>({left:`${e}%`,visibility:e<this.percentage?"visible":"hidden"})))}}},i=(r(54752),r(47433));const d=(0,i.A)(c,[["render",s],["__scopeId","data-v-b4f4e2ae"]]);var p=d,u=r(92043);const m={LESS:Line truncated
//# sourceMappingURL=harvester-1.0.6.umd.min.443.js.map
@@ -0,0 +1 @@
{"version":3,"file":"harvester-1.0.6.umd.min.443.js","mappings":"uPA6FOA,MAAM,qB,aAIJA,MAAM,W,uBAWDA,MAAM,iB,GAEJA,MAAM,c,GAAaC,EAAAA,EAAAA,oBAAc,SAAX,MAAO,G,GAIpCD,MAAM,S,iGArBbE,EAAAA,EAAAA,oBA2BM,MA3BNC,EA2BM,CA1BMC,EAAAC,eAAiBD,EAAAE,qBAAkB,kBAA7CJ,EAAAA,EAAAA,oBAEK,KAAAK,GAAAC,EAAAA,EAAAA,iBADAJ,EAAAC,cAAY,qCAEjBJ,EAAAA,EAAAA,oBAgBM,MAhBNQ,EAgBM,EAdJC,EAAAA,EAAAA,YAaOC,EAAAC,O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OAAS,K,uBAEhD/G,EAAAA,EAAAA,oBAMEuF,EAAAA,SAAA,MAAAC,EAAAA,EAAAA,YALuB5E,EAAAwG,QAAM,CAArBC,EAAOC,K,wCADjBtH,EAAAA,EAAAA,oBAME,OAJC4F,IAAK0B,EAELxH,OAAKwD,EAAAA,EAAAA,gBAAA,WAAmB+D,EAAME,QAAQ,IACtCpC,OAAKC,EAAAA,EAAAA,gBAAEiC,EAAMlC,Q,8DAhHpB,GACEvD,MAAO,CACL4F,OAAQ,CACN3F,KAAUiE,MACV5D,UAAU,GAGZuF,SAAU,CACR5F,KAASC,OACTC,QAAS,SAEX2F,SAAU,CACR7F,KAASC,OACTC,QAAS,SAEX4F,SAAU,CACR9F,KAASC,OACTC,QLine truncated
@@ -0,0 +1,2 @@
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_0_6"]||[]).push([[468],{13539:function(e,t,r){"use strict";r.d(t,{A:function(){return x}});var n=r(9274);const s={class:"chart"},a={key:0,class:"hw-gauge"},o={class:"values text-muted"},i={key:0},u={key:1},l={key:2},c={key:3},d={key:1,class:"hw-gauge"},f={class:"values text-muted"},h={key:0},p={key:1},m={key:2},v={key:3};function g(e,t,r,g,y,$){const k=(0,n.resolveComponent)("ConsumptionGauge"),S=(0,n.resolveComponent)("SimpleBox");return(0,n.openBlock)(),(0,n.createBlock)(S,{class:"hardware-resource-gauge"},{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",s,[(0,n.createElementVNode)("h3",null,(0,n.toDisplayString)(r.name),1),!r.reserved||void 0===r.reserved.total&&void 0===r.reserved.useful?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createElementBlock)("div",a,[(0,n.createVNode)(k,{capacity:r.reserved.total,used:r.reserved.useful,"color-stops":$.colorStops},{title:(0,n.withCtx)((()=>[(0,n.createElementVNode)("span",null,[(0,n.createTextVNode)((0,n.toDisplayString)(r.reservedTitle??e.t("clusterIndexPage.hardwareResourceGauge.reserved"))+" ",1),(0,n.createElementVNode)("span",o,[r.reserved.formattedUseful?((0,n.openBlock)(),(0,n.createElementBlock)("span",i,(0,n.toDisplayString)(r.reserved.formattedUseful),1)):((0,n.openBlock)(),(0,n.createElementBlock)("span",u,(0,n.toDisplayString)($.maxDecimalPlaces(r.reserved.useful)),1)),(0,n.createTextVNode)(" / "),r.reserved.formattedTotal?((0,n.openBlock)(),(0,n.createElementBlock)("span",l,(0,n.toDisplayString)(r.reserved.formattedTotal),1)):((0,n.openBlock)(),(0,n.createElementBlock)("span",c,(0,n.toDisplayString)($.maxDecimalPlaces(r.reserved.total))+" "+(0,n.toDisplayString)(r.reserved.units),1))])]),(0,n.createElementVNode)("span",null,(0,n.toDisplayString)($.percentage(r.reserved)),1)])),_:1},8,["capacity","used","color-stops"])])),r.used&&void 0!==r.used.useful?((0,n.openBlock)(),(0,n.createElementBlock)("div",d,[(0,n.createVNode)(k,{capacity:r.used.total,used:r.used.useful,"color-stops":$.colorStops},{title:(0,n.withCtx)((()=>[(0,n.createElementVNode)("span",null,[(0,n.createTextVNode)((0,n.toDisplayString)(r.usedTitle??e.t("clusterIndexPage.hardwareResourceGauge.used"))+" ",1),(0,n.createElementVNode)("span",f,[r.used.formattedUseful?((0,n.openBlock)(),(0,n.createElementBlock)("span",h,(0,n.toDisplayString)(r.used.formattedUseful),1)):((0,n.openBlock)(),(0,n.createElementBlock)("span",p,(0,n.toDisplayString)($.maxDecimalPlaces(r.used.useful)),1)),(0,n.createTextVNode)(" / "),r.used.formattedTotal?((0,n.openBlock)(),(0,n.createElementBlock)("span",m,(0,n.toDisplayString)(r.used.formattedTotal),1)):((0,n.openBlock)(),(0,n.createElementBlock)("span",v,(0,n.toDisplayString)($.maxDecimalPlaces(r.used.total))+" "+(0,n.toDisplayString)(r.used.units),1))])]),(0,n.createElementVNode)("span",null,(0,n.toDisplayString)($.percentage(r.used)),1)])),_:1},8,["capacity","used","color-stops"])])):(0,n.createCommentVNode)("",!0)])])),_:1})}var y=r(68732),$=r(87211),k={components:{ConsumptionGauge:y.A,SimpleBox:$.A},props:{name:{type:String,required:!0},units:{type:String,default:""},used:{type:Object,default:null},usedTitle:{type:String,default:null},reserved:{type:Object,default:null},reservedTitle:{type:String,default:null}},computed:{colorStops(){return{0:"--success",30:"--warning",70:"--error"}}},methods:{maxDecimalPlaces(e){return Math.round(100*e)/100},strokes(e,t){return{primaryStrokeColor:this.rgba(e,1),primaryStrokeGradientColor:this.rgba(t,1),secondaryStrokeColor:this.rgba(e,.1),secondaryStrokeGradientColor:this.rgba(t,.1)}},rgba(e,t){return`rgba(var(${e}), ${t})`},percentage(e){return 0===e.total?0:`${(e.useful/e.total*100).toFixed(2)}%`}}},S=(r(32778),r(47433));const b=(0,S.A)(k,[["render",g],["__scopeId","data-v-0e4e8f37"]]);var x=b},96413:function(e,t,r){"use strict";r.d(t,{A:function(){return u}});var n=r(9274);function s(e,t,r,s,a,o){const i=(0,n.resolveComponent)("t"),u=(0,n.resolveComponent)("router-link");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[(0,n.renderSlot)(e.$slots,"prefix",{},(()=>[r.prefixLabel?((0,n.openBlock)(),(0,n.createBlock)(i,{key:0,k:r.prefixLabel,raw:!0},null,8,["k"])):(0,n.createCommentVNode)("",!0),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(r.prefix),1)])),(0,n.createVNode)(u,{to:r.to,target:r.target},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"middle",{},(()=>[r.middleLabel?((0,n.openBlock)(),(0,n.createBlock)(i,{key:0,k:r.middleLabel,raw:!0},null,8,["k"])):(0,n.createCommentVNode)("",!0),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(r.middle),1)]))])),_:3},8,["to","target"]),(0,n.renderSlot)(e.$slots,"suffix",{},(()=>[r.suffixLabel?((0,n.openBlock)(),(0,n.createBlock)(i,{key:0,k:r.suffixLabel,raw:!0},null,8,["k"])):(0,n.createCommentVNode)("",!0),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(r.suffix),1)]))])}var a={props:{to:{type:[String,OLine truncated
//# sourceMappingURL=harvester-1.0.6.umd.min.468.js.map
@@ -0,0 +1 @@
{"version":3,"file":"harvester-1.0.6.umd.min.468.js","mappings":"uPA2ESA,MAAM,S,SAMPA,MAAM,Y,GAUMA,MAAM,qB,iDAwBlBA,MAAM,Y,GAUMA,MAAM,qB,kLAnDxBC,EAAAA,EAAAA,aA0EYC,EAAA,CA1EDF,MAAM,2BAAyB,C,uBACxC,IAwEM,EAxENG,EAAAA,EAAAA,oBAwEM,MAxENC,EAwEM,EAvEJD,EAAAA,EAAAA,oBAEK,WAAAE,EAAAA,EAAAA,iBADAC,EAAAC,MAAI,IAGDD,EAAAE,eAAgCC,IAAnBH,EAAAE,SAASE,YAA2CD,IAApBH,EAAAE,SAASG,Q,iCAAoB,kBADlFC,EAAAA,EAAAA,oBAiCM,MAjCNC,EAiCM,EA7BJC,EAAAA,EAAAA,aA4BmBC,EAAA,CA3BhBC,SAAUV,EAAAE,SAASE,MACnBO,KAAMX,EAAAE,SAASG,OACf,cAAaO,EAAAC,Y,CAEHC,OAAKC,EAAAA,EAAAA,UACd,IAiBO,EAjBPlB,EAAAA,EAAAA,oBAiBO,yDAhBFG,EAAAgB,eAAiBC,EAAAC,EAAE,oDAAqD,IAC3E,IAAArB,EAAAA,EAAAA,oBAcO,OAdPsB,EAcO,CAbOnB,EAAAE,SAASkB,kBAAe,kBAApCd,EAAAA,EAAAA,oBAEO,OAAAe,GAAAtB,EAAAA,EAAAA,iBADFC,EAAAE,SAASkB,iBAAe,wBAE7Bd,EAAAA,EAAAA,oBAEO,OAAAgB,GAAAvB,EAAAA,EAAAA,iBADFa,EAAAW,iBAAiBvB,EAAAE,SAASG,SAAM,0BAC9B,OAEKL,EAAAE,SAASsB,iBAAc,kBAAnClB,EAAAA,EAAAA,oBAEO,OAAAmB,GAAA1B,EAAAA,EAAAA,iBADFC,EAAA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OAAKqF,EAAAA,EAAAA,gBAAA,WAAmBO,EAAMG,QAAQ,IACtCC,OAAKC,EAAAA,EAAAA,gBAAEL,EAAMI,Q,8DAhHpB,GACEnD,MAAO,CACLqD,OAAQ,CACNpD,KAAUqD,MACVnD,UAAU,GAGZoD,SAAU,CACRtD,KAASC,OACTE,QAAS,SAEXoD,SAAU,CACRvD,KAASC,OACTE,QAAS,SAEXqD,SAAU,CACRxD,KAASC,OACTE,QAAS,SAGXsD,IAAK,CACHzD,KAAS0D,OACTvD,QAAS,GAEXwD,IAAK,CACH3D,KAAS0D,OACTvD,QAAS,MAEXyD,WAAY,CACV5D,KAAS0D,OACTvD,QAAS,GAEX0D,UAAW,CACT7D,KAAS8D,QACT3D,SAAS,IAIbE,SAAU,CACRqC,MAAAA,GACE,MAAMqB,EAAM,GAEZ,IAAM,MAAMC,KAAOlD,KAAKsC,OAAS,CAC/B,MAAMH,GAAQgB,EAAAA,EAAAA,IAAID,EAAKlD,KAAKwC,UACtBY,GAAQD,EAAAA,EAAAA,IAAID,EAAKlD,KAAKyC,UACtBY,GAAQF,EAAAA,EAAAA,IAAID,EAAKlD,KAAK0C,WAEb,IAAVW,GAAgBrD,KAAK+C,YAI1BE,EAAIK,KAAK,CACPnB,QACAiB,QACAC,SAEJ,CAEA,MAAMP,EAAa9C,KAAK8C,YAAc,EAChCH,EAAM3C,KAAK2C,KAAO,EACxB,IAAIE,EAAM7C,KAAK6C,IACXU,EAAM,EAEJvD,KAAK6C,MACTA,EAAM,IACDI,EAAIpB,SACPgB,EAAMI,EAAIO,KAAKC,GAAMA,EAAEJ,QAAOK,QAAO,CAACC,EAAGC,IAAMDLine truncated
Loaded 100 of 2506 files, more files were not shown because too many files have changed in this diff. Show more