From f7c6b22c161b5eb880bb8254a481e83a2c5edcea Mon Sep 17 00:00:00 2001 From: Michael Edgar Date: Fri, 12 Apr 2024 11:56:35 -0400 Subject: [PATCH] Minor adjustments to install resources for domain alignment, envs Signed-off-by: Michael Edgar --- install/003-install-console.sh | 1 + install/resources/console/console.deployment.yaml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/install/003-install-console.sh b/install/003-install-console.sh index 9b84fe266..9440f313c 100755 --- a/install/003-install-console.sh +++ b/install/003-install-console.sh @@ -6,6 +6,7 @@ CONSOLE_INSTALL_PATH="$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)" RESOURCE_PATH=${CONSOLE_INSTALL_PATH}/resources export NAMESPACE="${1?Please provide the deployment namespace}" +export CLUSTER_DOMAIN="${2?Please provide the base domain name for Kafka listener ingress}" source ${CONSOLE_INSTALL_PATH}/_common.sh diff --git a/install/resources/console/console.deployment.yaml b/install/resources/console/console.deployment.yaml index 2157d1b97..d18889753 100644 --- a/install/resources/console/console.deployment.yaml +++ b/install/resources/console/console.deployment.yaml @@ -33,7 +33,7 @@ spec: value: ${NAMESPACE}/console-kafka - name: CONSOLE_KAFKA_EXAMPLE_BOOTSTRAP_SERVERS # Replace with your Kafka's boostrap address - value: bootstrap.console-kafka.apps-crc.testing:443 + value: bootstrap.console-kafka.${CLUSTER_DOMAIN}:443 - name: CONSOLE_KAFKA_EXAMPLE_SASL_JAAS_CONFIG valueFrom: secretKeyRef: @@ -62,5 +62,9 @@ spec: value: 'http://127.0.0.1:8080' - name: CONSOLE_METRICS_PROMETHEUS_URL value: 'http://prometheus-operated.${NAMESPACE}.svc.cluster.local:9090' + - name: CONSOLE_MODE + value: read-only + - name: LOG_LEVEL + value: info ports: - containerPort: 3000