Skip to content

Commit

Permalink
fix agent operator target server url
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Jul 30, 2024
1 parent e1c55cf commit ecf9c8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/tracetest-agent-operator/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data:
TRACETEST_NATS_ENDPOINT: {{ include "tracetest-common.nats_endpoint" . }}
TRACETEST_TARGET_VERSION: "{{ .Values.config.targetVersion }}"
TRACETEST_TARGET_NAMESPACE: "{{ .Values.config.targetNamespace }}"
TRACETEST_TARGET_SERVER: {{ include "tracetest-common.url" .Values.global.urls.web }}
TRACETEST_TARGET_SERVER: {{ include "tracetest-common.url" .Values.global.urls.api }}
TRACETEST_TARGET_DOMAIN: "{{ .Values.global.urls.agents.domain }}"
TRACETEST_AGENT_EXTRA_ENV: ""
# TRACETEST_AGENT_EXTRA_ENV: |
Expand Down
3 changes: 2 additions & 1 deletion scripts/setup_kind_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function show_help() {
echo " --build-deps Build dependencies for all charts"
echo " --install-demo Install the Pokeshop demo"
echo " --debug Enable Helm debug output"
echo " --config-coredns Configure CoreDNS with custom records"
echo " --help Show this help message"
echo ""
echo "Environment variables that might be read:"
Expand Down Expand Up @@ -125,7 +126,7 @@ if [[ "$@" == *"--install-demo"* ]]; then
helm upgrade --install ttdemo -n demo --create-namespace $PROJECT_ROOT/charts/pokeshop-demo -f $PROJECT_ROOT/values-kind-demo.yaml
fi

if [[ "$@" == *"--reset"* ]]; then
if [[ "$SETUP_CLUSTER" == true || "$@" == *"--config-coredns"* ]]; then
printf "\n\e[42m\e[1mConfiguring CoreDNS\e[0m\e[0m\n"
hosts=(tracetest.localdev)
if [[ "$@" == *"--install-demo"* ]]; then
Expand Down

0 comments on commit ecf9c8d

Please sign in to comment.