|
|
@ -17,7 +17,6 @@ export default async function handler(req, res) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const labelSelector = podSelector !== undefined ? podSelector : `${APP_LABEL}=${appName}`;
|
|
|
|
const labelSelector = podSelector !== undefined ? podSelector : `${APP_LABEL}=${appName}`;
|
|
|
|
logger.info("labelSelector %s/%s = %s", namespace, appName, labelSelector);
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
const kc = getKubeConfig();
|
|
|
|
const kc = getKubeConfig();
|
|
|
|
if (!kc) {
|
|
|
|
if (!kc) {
|
|
|
|