Skip to content

Commit

Permalink
Minor adjustments to install resources for domain alignment, envs
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Edgar <[email protected]>
  • Loading branch information
MikeEdgar committed Apr 12, 2024
1 parent d457675 commit f7c6b22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions install/003-install-console.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 5 additions & 1 deletion install/resources/console/console.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit f7c6b22

Please sign in to comment.