Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ipedrazas/8973dcd4b21a0eee6181391ce3e43445 to your computer and use it in GitHub Desktop.
Save ipedrazas/8973dcd4b21a0eee6181391ce3e43445 to your computer and use it in GitHub Desktop.
Istio rule to allow apt-get update/install
cat <<EOF | istioctl replace -f -
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name: ubuntu-archive-ext
spec:
hosts:
- archive.ubuntu.com
- security.ubuntu.com
ports:
- number: 80
name: http
protocol: HTTP
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment