istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/external/aptget.yaml (about)

     1  # This ServiceEntry exposes the hosts needed for installing packages with apt-get.
     2  # After applying this file, Istio-enabled pods (configured apt-get) be able to execute
     3  # `apt-get upgrade` and `apt-get install`.  If this is not installed you may get
     4  # "404  Not Found"
     5  
     6  apiVersion: networking.istio.io/v1alpha3
     7  kind: ServiceEntry
     8  metadata:
     9    name: make-aptget-work
    10  spec:
    11    hosts:
    12    - deb.debian.org
    13    - cdn-fastly.deb.debian.org
    14    - security.debian.org
    15    - archive.ubuntu.com
    16    - security.ubuntu.com
    17    ports:
    18    - number: 80
    19      name: http
    20      protocol: HTTP