From 52355448a2654013b756ad463b4bac7e6648cc32 Mon Sep 17 00:00:00 2001 From: Jeromy Cannon Date: Tue, 7 Nov 2023 17:09:43 +0000 Subject: [PATCH] added warning message Signed-off-by: Jeromy Cannon --- fullstack-network-manager/src/commands/cluster.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fullstack-network-manager/src/commands/cluster.mjs b/fullstack-network-manager/src/commands/cluster.mjs index 6942186c2..d6b261230 100644 --- a/fullstack-network-manager/src/commands/cluster.mjs +++ b/fullstack-network-manager/src/commands/cluster.mjs @@ -316,6 +316,10 @@ export class ClusterCommand extends BaseCommand { valuesArg += ` --set cloud.envoyGateway.enabled=${envoyGatewayEnabled}` valuesArg += ` --set cloud.certManager.enabled=${certManagerEnabled}` valuesArg += ` --set cert-manager.installCRDs=${certManagerCrdsEnabled}` + if (certManagerEnabled && !certManagerCrdsEnabled) { + this.logger.showUser(chalk.yellowBright('> WARNING:'), chalk.yellow( + 'cert-manager CRDs are required for cert-manager, please enable it if you have not installed it independently.')) + } return valuesArg } }