Skip to content

Commit

Permalink
fix: uncomment secret creation on agent k8s install script
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren authored Aug 12, 2024
1 parent ab28ae3 commit 30daeaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/agent/deploy-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if [ -n "$SERVER_URL" ]; then
fi


# kubectl create -n $NAMESPACE secret generic tracetest-agent-secret --from-literal=api-key=$API_KEY
kubectl create -n $NAMESPACE secret generic tracetest-agent-secret --from-literal=api-key=$API_KEY
curl $FILE_PATH \
| sed "s/:TAG/:$AGENT_VERSION/g" \
| sed "$(if [ ${#extraCmd[@]} -eq 0 ]; then echo '/EXTRA_CMD/d'; else echo "s|EXTRA_CMD|$(printf "\"%s\"," "${extraCmd[@]}" | sed 's/,$//')|g"; fi)" \
Expand Down

0 comments on commit 30daeaa

Please sign in to comment.