[go: nahoru, domu]

Skip to content

Commit

Permalink
[ci skip] Non tls version
Browse files Browse the repository at this point in the history
  • Loading branch information
$NAME authored and $NAME committed Mar 18, 2024
1 parent 0383602 commit a5b04d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deploy_bionic() {
curl -LO https://raw.githubusercontent.com/bionic-gpt/bionic-gpt/main/crates/k8s-operator/config/bionic.yaml

# Point to the ip address
sed -i "s/localhost/$1/g" ./bionic.yaml
sed -i "s,https://localhost,http://$1,g" ./bionic.yaml
sed -i "s/# pgadmin/pgadmin/g" ./bionic.yaml
sed -i "s/# gpu: true/gpu: $2/g" ./bionic.yaml

Expand All @@ -82,7 +82,7 @@ main() {
reset_k3s "$address"
install_postgres_operator
echo "Waiting for Postgres Operator to be ready"
kubectl wait --for=condition=available deployment/cnpg-controller-manager -n cnpg-system
kubectl wait --timeout=120s --for=condition=available deployment/cnpg-controller-manager -n cnpg-system

apply_bionic_crd

Expand All @@ -93,7 +93,7 @@ main() {
fi
deploy_bionic "$address" "$gpu"

echo "When it's ready Bionic-GPT available on https://$address"
echo "When it's ready Bionic-GPT available on http://$address"
echo "Use k9s to check the status"
}

Expand Down

0 comments on commit a5b04d8

Please sign in to comment.