第 1 章 预安装的动态插件


Red Hat Developer Hub 预安装了特定的动态插件。

以下预安装的动态插件默认是启用的:

  • @backstage-community/plugin-analytics-provider-segment
  • @backstage-community/plugin-scaffolder-backend-module-quay
  • @backstage-community/plugin-scaffolder-backend-module-regex
  • @backstage/plugin-techdocs-backend
  • @backstage/plugin-techdocs

默认禁用需要自定义配置的动态插件。

在应用程序启动时,对于默认禁用的每个插件,Developer Hub pod 日志中的 install-dynamic-plugins init 容器 会显示类似如下的消息:

======= Skipping disabled dynamic plugin ./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-dynamic

要启用此插件,请在 Helm Chart 中添加具有相同名称的软件包,并将 disabled 字段中的值改为 'false'。例如:

global:
  dynamic:
    includes:
      - dynamic-plugins.default.yaml
    plugins:
      - package: ./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-dynamic
        disabled: false
注意

插件的默认配置是从 dynamic-plugins.default.yaml 文件中提取的,但您可以使用 pluginConfig 条目来覆盖默认配置。

1.1. 红帽支持的插件

红帽支持以下 18 个插件:

Name插件Version路径和所需变量

分析供应商分割

@backstage-community/plugin-analytics-provider-segment

1.10.2

./dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment

SEGMENT_WRITE_KEY

SEGMENT_TEST_MODE

Argo CD

@roadiehq/backstage-plugin-argo-cd

2.8.4

./dynamic-plugins/dist/roadiehq-backstage-plugin-argo-cd

Argo CD

@roadiehq/backstage-plugin-argo-cd-backend

3.2.3

./dynamic-plugins/dist/roadiehq-backstage-plugin-argo-cd-backend-dynamic

ARGOCD_USERNAME

ARGOCD_PASSWORD

ARGOCD_INSTANCE1_URL

ARGOCD_AUTH_TOKEN

ARGOCD_INSTANCE2_URL

ARGOCD_AUTH_TOKEN2

GitHub

@backstage/plugin-catalog-backend-module-github

0.7.6

./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-dynamic

GITHUB_ORG

GitHub 机构

@backstage/plugin-catalog-backend-module-github-org

0.3.3

./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-org-dynamic

GITHUB_URL

GITHUB_ORG

Keycloak

@backstage-community/plugin-catalog-backend-module-keycloak

3.2.2

./dynamic-plugins/dist/backstage-community-plugin-catalog-backend-module-keycloak-dynamic

KEYCLOAK_BASE_URL

KEYCLOAK_LOGIN_REALM

KEYCLOAK_REALM

KEYCLOAK_CLIENT_ID

KEYCLOAK_CLIENT_SECRET

Kubernetes

@backstage/plugin-kubernetes-backend

0.18.7

./dynamic-plugins/dist/backstage-plugin-kubernetes-backend-dynamic

K8S_CLUSTER_NAME

K8S_CLUSTER_URL

K8S_CLUSTER_TOKEN

OCM

@backstage-community/plugin-ocm

5.2.4

./dynamic-plugins/dist/backstage-community-plugin-ocm

OCM

@backstage-community/plugin-ocm-backend

5.2.3

./dynamic-plugins/dist/backstage-community-plugin-ocm-backend-dynamic

OCM_HUB_NAME

OCM_HUB_URL

OCM_SA_TOKEN

Quy

@backstage-community/plugin-quay

1.14.4

./dynamic-plugins/dist/backstage-community-plugin-quay

Quy

@backstage-community/plugin-scaffolder-backend-module-quay

2.2.2

./dynamic-plugins/dist/backstage-community-plugin-scaffolder-backend-module-quay-dynamic

RBAC

@backstage-community/plugin-rbac

1.33.2

./dynamic-plugins/dist/backstage-community-plugin-rbac

regex

@backstage-community/plugin-scaffolder-backend-module-regex

2.2.3

./dynamic-plugins/dist/backstage-community-plugin-scaffolder-backend-module-regex-dynamic

signal

@backstage/plugin-signals-backend

0.2.2

./dynamic-plugins/dist/backstage-plugin-signals-backend-dynamic

TechDocs

@backstage/plugin-techdocs

1.11.0

./dynamic-plugins/dist/backstage-plugin-techdocs

TechDocs

@backstage/plugin-techdocs-backend

1.11.1

./dynamic-plugins/dist/backstage-plugin-techdocs-backend-dynamic

Tekton

@backstage-community/plugin-tekton

3.16.2

./dynamic-plugins/dist/backstage-community-plugin-tekton

Topology

@backstage-community/plugin-topology

1.29.7

./dynamic-plugins/dist/backstage-community-plugin-topology

注意
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.