message: fix: Handle skipTLSVerify properly
diff: @@ -160,8 +160,9 @@ export class KubernetesProxy {
  headers: headers as { [key: string]: string },
  };
  - if (!details.skipTLSVerify) {
  - if (details.caData) {
  + if (details.skipTLSVerify) {
  + reqData.agent = new https.Agent({ rejectUnauthorized: false });
  + } else if (details.caData) {
  const ca = bufferFromFileOrString('', details.caData)?.toString() || '';
  reqData.agent = new https.Agent({ ca });
  } else {
  @@ -171,7 +172,6 @@ export class KubernetesProxy {
  'Invalid CA certificate configured within Backstage',
  );
  }
  - }
  if (body && Object.keys(body).length > 0) {
  reqData.body = JSON.stringify(body);
  