Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use gcr.io for Istio images and quay.io/sail-dev for sample applications #613

Merged
merged 3 commits into from
Feb 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
178 changes: 89 additions & 89 deletions bundle/manifests/sailoperator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ metadata:
capabilities: Seamless Upgrades
categories: OpenShift Optional, Integration & Delivery, Networking, Security
containerImage: quay.io/sail-dev/sail-operator:1.1-latest
createdAt: "2025-02-05T05:05:18Z"
createdAt: "2025-02-05T09:46:49Z"
description: Experimental operator for installing Istio service mesh
features.operators.openshift.io/cnf: "false"
features.operators.openshift.io/cni: "true"
@@ -657,50 +657,50 @@ spec:
images.latest.istiod: gcr.io/istio-testing/pilot:1.25-alpha.80c04863360c2cf08af32fbc6a8cf5a6703cab89
images.latest.proxy: gcr.io/istio-testing/proxyv2:1.25-alpha.80c04863360c2cf08af32fbc6a8cf5a6703cab89
images.latest.ztunnel: gcr.io/istio-testing/ztunnel:1.25-alpha.80c04863360c2cf08af32fbc6a8cf5a6703cab89
images.v1_21_6.cni: docker.io/istio/install-cni:1.21.6
images.v1_21_6.istiod: docker.io/istio/pilot:1.21.6
images.v1_21_6.proxy: docker.io/istio/proxyv2:1.21.6
images.v1_21_6.ztunnel: docker.io/istio/ztunnel:1.21.6
images.v1_22_5.cni: docker.io/istio/install-cni:1.22.5
images.v1_22_5.istiod: docker.io/istio/pilot:1.22.5
images.v1_22_5.proxy: docker.io/istio/proxyv2:1.22.5
images.v1_22_5.ztunnel: docker.io/istio/ztunnel:1.22.5
images.v1_22_6.cni: docker.io/istio/install-cni:1.22.6
images.v1_22_6.istiod: docker.io/istio/pilot:1.22.6
images.v1_22_6.proxy: docker.io/istio/proxyv2:1.22.6
images.v1_22_6.ztunnel: docker.io/istio/ztunnel:1.22.6
images.v1_22_7.cni: docker.io/istio/install-cni:1.22.7
images.v1_22_7.istiod: docker.io/istio/pilot:1.22.7
images.v1_22_7.proxy: docker.io/istio/proxyv2:1.22.7
images.v1_22_7.ztunnel: docker.io/istio/ztunnel:1.22.7
images.v1_22_8.cni: docker.io/istio/install-cni:1.22.8
images.v1_22_8.istiod: docker.io/istio/pilot:1.22.8
images.v1_22_8.proxy: docker.io/istio/proxyv2:1.22.8
images.v1_22_8.ztunnel: docker.io/istio/ztunnel:1.22.8
images.v1_23_2.cni: docker.io/istio/install-cni:1.23.2
images.v1_23_2.istiod: docker.io/istio/pilot:1.23.2
images.v1_23_2.proxy: docker.io/istio/proxyv2:1.23.2
images.v1_23_2.ztunnel: docker.io/istio/ztunnel:1.23.2
images.v1_23_3.cni: docker.io/istio/install-cni:1.23.3
images.v1_23_3.istiod: docker.io/istio/pilot:1.23.3
images.v1_23_3.proxy: docker.io/istio/proxyv2:1.23.3
images.v1_23_3.ztunnel: docker.io/istio/ztunnel:1.23.3
images.v1_23_4.cni: docker.io/istio/install-cni:1.23.4
images.v1_23_4.istiod: docker.io/istio/pilot:1.23.4
images.v1_23_4.proxy: docker.io/istio/proxyv2:1.23.4
images.v1_23_4.ztunnel: docker.io/istio/ztunnel:1.23.4
images.v1_24_0.cni: docker.io/istio/install-cni:1.24.0
images.v1_24_0.istiod: docker.io/istio/pilot:1.24.0
images.v1_24_0.proxy: docker.io/istio/proxyv2:1.24.0
images.v1_24_0.ztunnel: docker.io/istio/ztunnel:1.24.0
images.v1_24_1.cni: docker.io/istio/install-cni:1.24.1
images.v1_24_1.istiod: docker.io/istio/pilot:1.24.1
images.v1_24_1.proxy: docker.io/istio/proxyv2:1.24.1
images.v1_24_1.ztunnel: docker.io/istio/ztunnel:1.24.1
images.v1_24_2.cni: docker.io/istio/install-cni:1.24.2
images.v1_24_2.istiod: docker.io/istio/pilot:1.24.2
images.v1_24_2.proxy: docker.io/istio/proxyv2:1.24.2
images.v1_24_2.ztunnel: docker.io/istio/ztunnel:1.24.2
images.v1_21_6.cni: gcr.io/istio-release/install-cni:1.21.6
images.v1_21_6.istiod: gcr.io/istio-release/pilot:1.21.6
images.v1_21_6.proxy: gcr.io/istio-release/proxyv2:1.21.6
images.v1_21_6.ztunnel: gcr.io/istio-release/ztunnel:1.21.6
images.v1_22_5.cni: gcr.io/istio-release/install-cni:1.22.5
images.v1_22_5.istiod: gcr.io/istio-release/pilot:1.22.5
images.v1_22_5.proxy: gcr.io/istio-release/proxyv2:1.22.5
images.v1_22_5.ztunnel: gcr.io/istio-release/ztunnel:1.22.5
images.v1_22_6.cni: gcr.io/istio-release/install-cni:1.22.6
images.v1_22_6.istiod: gcr.io/istio-release/pilot:1.22.6
images.v1_22_6.proxy: gcr.io/istio-release/proxyv2:1.22.6
images.v1_22_6.ztunnel: gcr.io/istio-release/ztunnel:1.22.6
images.v1_22_7.cni: gcr.io/istio-release/install-cni:1.22.7
images.v1_22_7.istiod: gcr.io/istio-release/pilot:1.22.7
images.v1_22_7.proxy: gcr.io/istio-release/proxyv2:1.22.7
images.v1_22_7.ztunnel: gcr.io/istio-release/ztunnel:1.22.7
images.v1_22_8.cni: gcr.io/istio-release/install-cni:1.22.8
images.v1_22_8.istiod: gcr.io/istio-release/pilot:1.22.8
images.v1_22_8.proxy: gcr.io/istio-release/proxyv2:1.22.8
images.v1_22_8.ztunnel: gcr.io/istio-release/ztunnel:1.22.8
images.v1_23_2.cni: gcr.io/istio-release/install-cni:1.23.2
images.v1_23_2.istiod: gcr.io/istio-release/pilot:1.23.2
images.v1_23_2.proxy: gcr.io/istio-release/proxyv2:1.23.2
images.v1_23_2.ztunnel: gcr.io/istio-release/ztunnel:1.23.2
images.v1_23_3.cni: gcr.io/istio-release/install-cni:1.23.3
images.v1_23_3.istiod: gcr.io/istio-release/pilot:1.23.3
images.v1_23_3.proxy: gcr.io/istio-release/proxyv2:1.23.3
images.v1_23_3.ztunnel: gcr.io/istio-release/ztunnel:1.23.3
images.v1_23_4.cni: gcr.io/istio-release/install-cni:1.23.4
images.v1_23_4.istiod: gcr.io/istio-release/pilot:1.23.4
images.v1_23_4.proxy: gcr.io/istio-release/proxyv2:1.23.4
images.v1_23_4.ztunnel: gcr.io/istio-release/ztunnel:1.23.4
images.v1_24_0.cni: gcr.io/istio-release/install-cni:1.24.0
images.v1_24_0.istiod: gcr.io/istio-release/pilot:1.24.0
images.v1_24_0.proxy: gcr.io/istio-release/proxyv2:1.24.0
images.v1_24_0.ztunnel: gcr.io/istio-release/ztunnel:1.24.0
images.v1_24_1.cni: gcr.io/istio-release/install-cni:1.24.1
images.v1_24_1.istiod: gcr.io/istio-release/pilot:1.24.1
images.v1_24_1.proxy: gcr.io/istio-release/proxyv2:1.24.1
images.v1_24_1.ztunnel: gcr.io/istio-release/ztunnel:1.24.1
images.v1_24_2.cni: gcr.io/istio-release/install-cni:1.24.2
images.v1_24_2.istiod: gcr.io/istio-release/pilot:1.24.2
images.v1_24_2.proxy: gcr.io/istio-release/proxyv2:1.24.2
images.v1_24_2.ztunnel: gcr.io/istio-release/ztunnel:1.24.2
kubectl.kubernetes.io/default-container: sail-operator
labels:
app.kubernetes.io/created-by: sailoperator
@@ -838,92 +838,92 @@ spec:
name: latest.proxy
- image: gcr.io/istio-testing/ztunnel:1.25-alpha.80c04863360c2cf08af32fbc6a8cf5a6703cab89
name: latest.ztunnel
- image: docker.io/istio/install-cni:1.21.6
- image: gcr.io/istio-release/install-cni:1.21.6
name: v1_21_6.cni
- image: docker.io/istio/pilot:1.21.6
- image: gcr.io/istio-release/pilot:1.21.6
name: v1_21_6.istiod
- image: docker.io/istio/proxyv2:1.21.6
- image: gcr.io/istio-release/proxyv2:1.21.6
name: v1_21_6.proxy
- image: docker.io/istio/ztunnel:1.21.6
- image: gcr.io/istio-release/ztunnel:1.21.6
name: v1_21_6.ztunnel
- image: docker.io/istio/install-cni:1.22.5
- image: gcr.io/istio-release/install-cni:1.22.5
name: v1_22_5.cni
- image: docker.io/istio/pilot:1.22.5
- image: gcr.io/istio-release/pilot:1.22.5
name: v1_22_5.istiod
- image: docker.io/istio/proxyv2:1.22.5
- image: gcr.io/istio-release/proxyv2:1.22.5
name: v1_22_5.proxy
- image: docker.io/istio/ztunnel:1.22.5
- image: gcr.io/istio-release/ztunnel:1.22.5
name: v1_22_5.ztunnel
- image: docker.io/istio/install-cni:1.22.6
- image: gcr.io/istio-release/install-cni:1.22.6
name: v1_22_6.cni
- image: docker.io/istio/pilot:1.22.6
- image: gcr.io/istio-release/pilot:1.22.6
name: v1_22_6.istiod
- image: docker.io/istio/proxyv2:1.22.6
- image: gcr.io/istio-release/proxyv2:1.22.6
name: v1_22_6.proxy
- image: docker.io/istio/ztunnel:1.22.6
- image: gcr.io/istio-release/ztunnel:1.22.6
name: v1_22_6.ztunnel
- image: docker.io/istio/install-cni:1.22.7
- image: gcr.io/istio-release/install-cni:1.22.7
name: v1_22_7.cni
- image: docker.io/istio/pilot:1.22.7
- image: gcr.io/istio-release/pilot:1.22.7
name: v1_22_7.istiod
- image: docker.io/istio/proxyv2:1.22.7
- image: gcr.io/istio-release/proxyv2:1.22.7
name: v1_22_7.proxy
- image: docker.io/istio/ztunnel:1.22.7
- image: gcr.io/istio-release/ztunnel:1.22.7
name: v1_22_7.ztunnel
- image: docker.io/istio/install-cni:1.22.8
- image: gcr.io/istio-release/install-cni:1.22.8
name: v1_22_8.cni
- image: docker.io/istio/pilot:1.22.8
- image: gcr.io/istio-release/pilot:1.22.8
name: v1_22_8.istiod
- image: docker.io/istio/proxyv2:1.22.8
- image: gcr.io/istio-release/proxyv2:1.22.8
name: v1_22_8.proxy
- image: docker.io/istio/ztunnel:1.22.8
- image: gcr.io/istio-release/ztunnel:1.22.8
name: v1_22_8.ztunnel
- image: docker.io/istio/install-cni:1.23.2
- image: gcr.io/istio-release/install-cni:1.23.2
name: v1_23_2.cni
- image: docker.io/istio/pilot:1.23.2
- image: gcr.io/istio-release/pilot:1.23.2
name: v1_23_2.istiod
- image: docker.io/istio/proxyv2:1.23.2
- image: gcr.io/istio-release/proxyv2:1.23.2
name: v1_23_2.proxy
- image: docker.io/istio/ztunnel:1.23.2
- image: gcr.io/istio-release/ztunnel:1.23.2
name: v1_23_2.ztunnel
- image: docker.io/istio/install-cni:1.23.3
- image: gcr.io/istio-release/install-cni:1.23.3
name: v1_23_3.cni
- image: docker.io/istio/pilot:1.23.3
- image: gcr.io/istio-release/pilot:1.23.3
name: v1_23_3.istiod
- image: docker.io/istio/proxyv2:1.23.3
- image: gcr.io/istio-release/proxyv2:1.23.3
name: v1_23_3.proxy
- image: docker.io/istio/ztunnel:1.23.3
- image: gcr.io/istio-release/ztunnel:1.23.3
name: v1_23_3.ztunnel
- image: docker.io/istio/install-cni:1.23.4
- image: gcr.io/istio-release/install-cni:1.23.4
name: v1_23_4.cni
- image: docker.io/istio/pilot:1.23.4
- image: gcr.io/istio-release/pilot:1.23.4
name: v1_23_4.istiod
- image: docker.io/istio/proxyv2:1.23.4
- image: gcr.io/istio-release/proxyv2:1.23.4
name: v1_23_4.proxy
- image: docker.io/istio/ztunnel:1.23.4
- image: gcr.io/istio-release/ztunnel:1.23.4
name: v1_23_4.ztunnel
- image: docker.io/istio/install-cni:1.24.0
- image: gcr.io/istio-release/install-cni:1.24.0
name: v1_24_0.cni
- image: docker.io/istio/pilot:1.24.0
- image: gcr.io/istio-release/pilot:1.24.0
name: v1_24_0.istiod
- image: docker.io/istio/proxyv2:1.24.0
- image: gcr.io/istio-release/proxyv2:1.24.0
name: v1_24_0.proxy
- image: docker.io/istio/ztunnel:1.24.0
- image: gcr.io/istio-release/ztunnel:1.24.0
name: v1_24_0.ztunnel
- image: docker.io/istio/install-cni:1.24.1
- image: gcr.io/istio-release/install-cni:1.24.1
name: v1_24_1.cni
- image: docker.io/istio/pilot:1.24.1
- image: gcr.io/istio-release/pilot:1.24.1
name: v1_24_1.istiod
- image: docker.io/istio/proxyv2:1.24.1
- image: gcr.io/istio-release/proxyv2:1.24.1
name: v1_24_1.proxy
- image: docker.io/istio/ztunnel:1.24.1
- image: gcr.io/istio-release/ztunnel:1.24.1
name: v1_24_1.ztunnel
- image: docker.io/istio/install-cni:1.24.2
- image: gcr.io/istio-release/install-cni:1.24.2
name: v1_24_2.cni
- image: docker.io/istio/pilot:1.24.2
- image: gcr.io/istio-release/pilot:1.24.2
name: v1_24_2.istiod
- image: docker.io/istio/proxyv2:1.24.2
- image: gcr.io/istio-release/proxyv2:1.24.2
name: v1_24_2.proxy
- image: docker.io/istio/ztunnel:1.24.2
- image: gcr.io/istio-release/ztunnel:1.24.2
name: v1_24_2.ztunnel
version: 1.1.0
11 changes: 11 additions & 0 deletions hack/download-charts.sh
Original file line number Diff line number Diff line change
@@ -98,6 +98,16 @@ function patchIstioCharts() {
rm -f "${CHARTS_DIR}/istiod-remote/templates/crd-all.gen.yaml"
}

# The charts use docker.io as the default registry, but this leads to issues
# because of Docker Hub's rate limiting. This function modifies the hub field
# in all charts to use gcr.io/istio-release instead of docker.io/istio.
# gcr.io also contains the official images for Istio and they ar an exact match.
function replaceDockerHubWithGcrIo() {
echo "replacing docker.io/istio with gcr.io/istio-release in all charts"

find "${CHARTS_DIR}" -name values.yaml -exec sed -i 's/hub: docker.io\/istio/hub: gcr.io\/istio-release/g' {} \;
}

function convertIstioProfiles() {
# delete the minimal profile, because it ends up being empty after the conversion
[ -f "${PROFILES_DIR}"/minimal.yaml ] && rm "${PROFILES_DIR}"/minimal.yaml
@@ -138,5 +148,6 @@ version: 0.1.0

downloadIstioManifests
patchIstioCharts
replaceDockerHubWithGcrIo
convertIstioProfiles
createRevisionTagChart
2 changes: 1 addition & 1 deletion resources/v1.21.6/charts/cni/values.yaml
Original file line number Diff line number Diff line change
@@ -113,7 +113,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release

# Default tag for Istio images.
tag: 1.21.6
2 changes: 1 addition & 1 deletion resources/v1.21.6/charts/istiod/values.yaml
Original file line number Diff line number Diff line change
@@ -214,7 +214,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release
# Default tag for Istio images.
tag: 1.21.6
# Variant of the image to use.
2 changes: 1 addition & 1 deletion resources/v1.21.6/charts/revisiontags/values.yaml
Original file line number Diff line number Diff line change
@@ -214,7 +214,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release
# Default tag for Istio images.
tag: 1.21.6
# Variant of the image to use.
2 changes: 1 addition & 1 deletion resources/v1.21.6/charts/ztunnel/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defaults:
# Hub to pull from. Image will be `Hub/Image:Tag-Variant`
hub: docker.io/istio
hub: gcr.io/istio-release
# Tag to pull from. Image will be `Hub/Image:Tag-Variant`
tag: 1.21.6
# Variant to pull. Options are "debug" or "distroless". Unset will use the default for the given version.
2 changes: 1 addition & 1 deletion resources/v1.22.5/charts/cni/values.yaml
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release

# Default tag for Istio images.
tag: 1.22.5
2 changes: 1 addition & 1 deletion resources/v1.22.5/charts/istiod/values.yaml
Original file line number Diff line number Diff line change
@@ -232,7 +232,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release
# Default tag for Istio images.
tag: 1.22.5
# Variant of the image to use.
2 changes: 1 addition & 1 deletion resources/v1.22.5/charts/revisiontags/values.yaml
Original file line number Diff line number Diff line change
@@ -232,7 +232,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release
# Default tag for Istio images.
tag: 1.22.5
# Variant of the image to use.
2 changes: 1 addition & 1 deletion resources/v1.22.5/charts/ztunnel/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defaults:
# Hub to pull from. Image will be `Hub/Image:Tag-Variant`
hub: docker.io/istio
hub: gcr.io/istio-release
# Tag to pull from. Image will be `Hub/Image:Tag-Variant`
tag: 1.22.5
# Variant to pull. Options are "debug" or "distroless". Unset will use the default for the given version.
2 changes: 1 addition & 1 deletion resources/v1.22.6/charts/cni/values.yaml
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release

# Default tag for Istio images.
tag: 1.22.6
2 changes: 1 addition & 1 deletion resources/v1.22.6/charts/istiod/values.yaml
Original file line number Diff line number Diff line change
@@ -232,7 +232,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release
# Default tag for Istio images.
tag: 1.22.6
# Variant of the image to use.
2 changes: 1 addition & 1 deletion resources/v1.22.6/charts/revisiontags/values.yaml
Original file line number Diff line number Diff line change
@@ -232,7 +232,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release
# Default tag for Istio images.
tag: 1.22.6
# Variant of the image to use.
2 changes: 1 addition & 1 deletion resources/v1.22.6/charts/ztunnel/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defaults:
# Hub to pull from. Image will be `Hub/Image:Tag-Variant`
hub: docker.io/istio
hub: gcr.io/istio-release
# Tag to pull from. Image will be `Hub/Image:Tag-Variant`
tag: 1.22.6
# Variant to pull. Options are "debug" or "distroless". Unset will use the default for the given version.
2 changes: 1 addition & 1 deletion resources/v1.22.7/charts/cni/values.yaml
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release

# Default tag for Istio images.
tag: 1.22.7
2 changes: 1 addition & 1 deletion resources/v1.22.7/charts/istiod/values.yaml
Original file line number Diff line number Diff line change
@@ -232,7 +232,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release
# Default tag for Istio images.
tag: 1.22.7
# Variant of the image to use.
2 changes: 1 addition & 1 deletion resources/v1.22.7/charts/revisiontags/values.yaml
Original file line number Diff line number Diff line change
@@ -232,7 +232,7 @@ defaults:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: docker.io/istio
hub: gcr.io/istio-release
# Default tag for Istio images.
tag: 1.22.7
# Variant of the image to use.
Loading