Update plugins/kubernetes-backend/src/service/KubernetesProxy.ts
Co-authored-by: Jamie Klassen <jklassen@vmware.com> Signed-off-by: Carlos Esteban Lopez Jaramillo <luchillo17@gmail.com>
This commit is contained in:
committed by
Fredrik Adelöw
parent
a05aa6cc69
commit
e4af45dc47
@@ -157,12 +157,6 @@ export class KubernetesProxy {
|
||||
} else if (details.caData) {
|
||||
const ca = bufferFromFileOrString('', details.caData)?.toString() || '';
|
||||
reqData.agent = new https.Agent({ ca });
|
||||
} else {
|
||||
this.logger.error('could not find CA certificate!');
|
||||
|
||||
throw new InputError(
|
||||
'Invalid CA certificate configured within Backstage',
|
||||
);
|
||||
}
|
||||
|
||||
if (body && Object.keys(body).length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user