refactor: update extension config

This commit is contained in:
guqing
2022-07-14 16:50:34 +08:00
parent da1da90ef2
commit 5f7b05e58a
2 changed files with 9 additions and 7 deletions

View File

@@ -5,8 +5,9 @@ metadata:
labels:
halo.run/role-template: "true"
annotations:
halo.run/module: "Apple Management"
halo.run/display-name: "苹果查看"
rbac.authorization.halo.run/module: "Apple Management"
rbac.authorization.halo.run/ui-permissions: "[\"apples:view\"]"
rbac.authorization.halo.run/display-name: "苹果查看"
rules:
- apiGroups: [ "plugins.api.halo.run" ]
resources: [ "plugins/apples" ]
@@ -19,9 +20,10 @@ metadata:
labels:
halo.run/role-template: "true"
annotations:
halo.run/dependencies: "[\"role-template-apple-view\"]"
halo.run/module: "Apple Management"
halo.run/display-name: "苹果管理"
rbac.authorization.halo.run/dependencies: "[\"role-template-apple-view\"]"
rbac.authorization.halo.run/ui-permissions: "[\"apples:delete\",\"apples:update\"]"
rbac.authorization.halo.run/module: "Apple Management"
rbac.authorization.halo.run/display-name: "苹果管理"
rules:
- apiGroups: [ "plugins.api.halo.run" ]
resources: [ "plugins/apples" ]

View File

@@ -16,5 +16,5 @@ spec:
# 'displayName' explains what the plugin does in only a few words
displayName: "测试插件"
description: "这是一个用来测试的插件"
license: MIT
license:
- name: "MIT"