Skip to content

Commit

Permalink
Enable all patterns for ubuntu.com
Browse files Browse the repository at this point in the history
  • Loading branch information
Ram81 committed Oct 10, 2021
1 parent c35f80c commit 453f3d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ echo "### Cilium Installed"
sleep 120s;

# Apply cilium network policy
# echo "### Setting up Cilium Network Policy..."
# cat /code/scripts/workers/code_upload_worker_utils/network_policies.yaml | sed "s/{{EVALAI_DNS}}/$EVALAI_DNS/" | kubectl apply -f -
# echo "### Cilium EvalAI Network Policy Installed"
echo "### Setting up Cilium Network Policy..."
cat /code/scripts/workers/code_upload_worker_utils/network_policies.yaml | sed "s/{{EVALAI_DNS}}/$EVALAI_DNS/" | kubectl apply -f -
echo "### Cilium EvalAI Network Policy Installed"

# Set ssl-certificate
echo $CERTIFICATE | base64 --decode > scripts/workers/certificate.crt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ spec:
{}
egress:
- toFQDNs:
- matchName: archive.ubuntu.com
- matchName: {{EVALAI_DNS}}
- matchPattern: "*.ubuntu.com"
- toEndpoints:
- matchLabels:
"k8s:io.kubernetes.pod.namespace": kube-system
Expand Down

0 comments on commit 453f3d1

Please sign in to comment.