Skip to content

Commit

Permalink
Use full path to TLS CA (#16)
Browse files Browse the repository at this point in the history
* Use full path to TLS CA

* fix commented variable syntax
  • Loading branch information
jsirianni authored Apr 24, 2024
1 parent eba4906 commit 0045c43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ validate() {
if [ -n "$tls_ca_cert" ]; then
echo "tls_ca_cert is set, adding to profile."
echo "$tls_ca_cert" > ca.pem
ca_full_path=$(pwd)/ca.pem
# TODO(jsirianni): Switch to flag param when fixed
export BINDPLANE_TLS_CA=ca.pem
# profile_args="$profile_args --tls-ca ca.pem"
export BINDPLANE_TLS_CA="$ca_full_path"
# profile_args="$profile_args --tls-ca $ca_full_path"
fi

# configuration_output_dir, target_branch, and token are only required
Expand Down

0 comments on commit 0045c43

Please sign in to comment.