Refactor header names, add options object to requestHandler and add new changes to api-reports and changeset along with docs

Signed-off-by: Ruben Vallejo <rvallejo@vmware.com>
This commit is contained in:
Ruben Vallejo
2023-02-13 16:02:52 -05:00
parent e2ff409a3b
commit c04498db27
10 changed files with 59 additions and 41 deletions
-1
View File
@@ -23,7 +23,6 @@
export * from './types';
export * from './catalog-entity-constants';
export {
RESOURCE_TYPE_KUBERNETES_RESOURCE,
kubernetesProxyPermission,
kubernetesPermissions,
} from './permissions';
+2 -8
View File
@@ -16,14 +16,8 @@
import { createPermission } from '@backstage/plugin-permission-common';
/**
* Permission resource type which corresponds to cluster entities.
* @alpha
*/
export const RESOURCE_TYPE_KUBERNETES_RESOURCE = 'kubernetes-resource';
/** This permission is used to check access to the proxy endpoint
* @alpha
* @public
*/
export const kubernetesProxyPermission = createPermission({
name: 'kubernetes.proxy',
@@ -32,6 +26,6 @@ export const kubernetesProxyPermission = createPermission({
/**
* List of all Kubernetes permissions.
* @alpha
* @public
*/
export const kubernetesPermissions = [kubernetesProxyPermission];