Skip to content

Commit

Permalink
Merge branch 'master' into fix/secondary-subnet
Browse files Browse the repository at this point in the history
  • Loading branch information
emalinowski authored Jul 20, 2022
2 parents 6c96311 + 85109ef commit 2a2f889
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
1 change: 0 additions & 1 deletion files/squid_whitelist/web_whitelist
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ sa-update.space-pro.be
security.debian.org
services.mathworks.com
streaming.stat.iastate.edu
support.datacommons.io
us-central1-docker.pkg.dev
www.google.com
www.icpsr.umich.edu
Expand Down
19 changes: 8 additions & 11 deletions gen3/bin/kube-setup-revproxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,15 @@ for name in $(g3kubectl get services -o json | jq -r '.items[] | .metadata.name'
fi
done

if [[ $current_namespace == "default" ]];
if g3kubectl get namespace argo > /dev/null 2>&1;
then
if g3kubectl get namespace argo > /dev/null 2>&1;
then
for argo in $(g3kubectl get services -n argo -o jsonpath='{.items[*].metadata.name}');
do
filePath="$scriptDir/gen3.nginx.conf/${argo}.conf"
if [[ -f "$filePath" ]]; then
confFileList+=("--from-file" "$filePath")
fi
done
fi
for argo in $(g3kubectl get services -n argo -o jsonpath='{.items[*].metadata.name}');
do
filePath="$scriptDir/gen3.nginx.conf/${argo}.conf"
if [[ -f "$filePath" ]]; then
confFileList+=("--from-file" "$filePath")
fi
done
fi

if [[ $current_namespace == "default" ]];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ spec:
if fence-create migrate --help > /dev/null 2>&1; then
if ! grep -E 'ENABLE_DB_MIGRATION"?: *false' /var/www/fence/fence-config.yaml; then
echo "Running db migration: fence-create migrate"
cd /fence
fence-create migrate
else
echo "Db migration disabled in fence-config"
Expand Down

0 comments on commit 2a2f889

Please sign in to comment.