fix: gateway improvements

This commit is contained in:
Daniel Hougaard
2025-10-24 15:53:38 +04:00
parent 4c173bfb3a
commit bcb0e8e705
5 changed files with 23 additions and 2 deletions
@@ -719,7 +719,8 @@ export const identityKubernetesAuthServiceFactory = ({
);
}
const shouldUpdateGatewayId = Boolean(gatewayId);
// Strict check to see if gateway ID is undefined. It should update the gateway ID to null if its strictly set to null.
const shouldUpdateGatewayId = Boolean(gatewayId !== undefined);
const gatewayIdValue = isGatewayV1 ? gatewayId : null;
const gatewayV2IdValue = isGatewayV1 ? null : gatewayId;