feat: Make PodExecTerminal UI OptIn

Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
Carlos Esteban Lopez
2023-12-18 17:22:30 -05:00
parent 36cf79a3ad
commit 0d526c8554
9 changed files with 145 additions and 8 deletions
+31
View File
@@ -0,0 +1,31 @@
import { PodExecTerminal } from './src/components/PodExecTerminal/PodExecTerminal';
/*
* Copyright 2023 The Backstage Authors
*
* 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
*
* 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.
*/
export interface Config {
kubernetes?: {
/**
* Pod Exec Terminal config
*/
podExecTerminal?: {
/**
* Enable `PodExecTerminal` UI feature
* @visibility frontend
*/
enable?: boolean;
};
};
}