-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.yaml
More file actions
76 lines (67 loc) · 3.78 KB
/
Copy pathplugin.yaml
File metadata and controls
76 lines (67 loc) · 3.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# --- Plugin identity (required) ---
name: community-plugins-admin # [PLUGIN-SPECIFIC] unique plugin identifier (kebab-case)
displayName: Community Plugins Admin # [PLUGIN-SPECIFIC] human-readable name
description: >-
Discover, install, upgrade, remove, enable, and disable community plugins
for the RHOAI Dashboard. Browse the community plugin catalog, view detailed
plugin metadata, and manage the full plugin lifecycle from the dashboard UI.
version: 0.1.4
# --- Maintainer (required) ---
maintainer: # [PLUGIN-SPECIFIC]
name: Guillaume Moutier # [PLUGIN-SPECIFIC] replace with maintainer's name
github: guimou # [PLUGIN-SPECIFIC] replace with maintainer's GitHub handle
# --- RHOAI compatibility (required) ---
rhoai_compatibility: # [PLUGIN-SPECIFIC]
min_version: "3.3.0"
tested_versions: ["3.3.0", "3.4.2"]
# --- Deployment (required) ---
deployment_model: cluster-shared # per-project | cluster-shared | both
image: # [PLUGIN-SPECIFIC]
repository: quay.io/rh-ai-community-plugins/community-plugins-admin
tag: "0.1.4"
bff_image: # [PLUGIN-SPECIFIC] (optional — only if using BFF pattern)
repository: quay.io/rh-ai-community-plugins/community-plugins-admin-bff
tag: "0.1.4"
# --- Installation (required) ---
install:
method: automatic # automatic | assisted | manual
namespace: cp-plugins-admin
helm:
chart_path: chart/
registry: oci://quay.io/rh-ai-community-plugins/community-plugins-admin-chart # [PLUGIN-SPECIFIC]
prerequisites: []
instructions: https://github.com/rh-ai-community-plugins/community-plugins-admin/blob/main/docs/deployment # [PLUGIN-SPECIFIC]
# --- Dashboard integration (required) ---
remote:
type: module-federation
spec:
name: communityPluginsAdmin # [PLUGIN-SPECIFIC] Module Federation container name (camelCase)
scope: communityPluginsAdmin # [PLUGIN-SPECIFIC] must match name above
# [PLUGIN-SPECIFIC] Update this URL to point to your deployed OpenShift route.
# The URL is cluster-specific and depends on the route created by the Helm chart or Ingress.
# Example: https://community-plugins-admin-mynamespace.apps.mycluster.example.com/remoteEntry.js
remoteEntry: https://<your-openshift-route>/remoteEntry.js # [PLUGIN-SPECIFIC]
paths:
- type: route
path: /community-plugins-admin # [PLUGIN-SPECIFIC] must match route prefix in extensions.ts
extensions:
- communityPluginsAdmin/extensions # [PLUGIN-SPECIFIC] {scope}/extensions
- type: icon
path: communityPluginsAdmin/Icon # [PLUGIN-SPECIFIC] {scope}/Icon
# --- RBAC (required) ---
# The BFF ServiceAccount needs cluster-level permissions to manage plugin
# lifecycle operations. Admin users who trigger these operations must also
# have appropriate permissions (the BFF forwards their Bearer token).
rbac:
cluster_roles: true
required_roles:
- "namespaces: get, list, create, delete"
- "apps/deployments, statefulsets, daemonsets, replicasets: get, list, create, update, patch, delete"
- "services, configmaps, secrets, serviceaccounts, persistentvolumeclaims: get, list, watch, create, update, patch, delete"
- "rbac.authorization.k8s.io/roles, rolebindings: get, list, create, update, patch, delete"
- "networking.k8s.io/ingresses, networkpolicies: get, list, create, update, patch, delete"
# --- Support (optional) ---
support:
repo: https://github.com/rh-ai-community-plugins/community-plugins-admin # [PLUGIN-SPECIFIC]
docs: https://github.com/rh-ai-community-plugins/community-plugins-admin/tree/main/docs
issues: https://github.com/rh-ai-community-plugins/community-plugins-admin/issues