diff --git a/.github/workflows/offline.yml b/.github/workflows/offline.yml index 0df59627c..374d101ca 100644 --- a/.github/workflows/offline.yml +++ b/.github/workflows/offline.yml @@ -64,7 +64,10 @@ jobs: run: ./offline/default-build/build.sh env: GPG_PRIVATE_KEY: '${{ secrets.GPG_PRIVATE_KEY }}' - DOCKER_LOGIN: '${{ secrets.DOCKER_LOGIN }}' + # read-only robot for pulling helm charts (OCI) and container images from quay.io + DOCKER_LOGIN: '${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_USERNAME }}:${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_PASSWORD }}' + OCI_REGISTRY_USERNAME: '${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_USERNAME }}' + OCI_REGISTRY_PASSWORD: '${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_PASSWORD }}' - name: Copy default build assets tarball to S3 run: | @@ -98,6 +101,7 @@ jobs: run: nix-env -f default.nix -iA env - name: Install terraform + id: install-terraform uses: hashicorp/setup-terraform@v3 with: terraform_version: "^1.3.7" @@ -109,7 +113,8 @@ jobs: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' - name: Clean up hetzner environment; just in case - if: always() + # Skip when terraform was never installed (earlier step failed): nothing was deployed. + if: always() && steps.install-terraform.outcome == 'success' run: (cd terraform/examples/wire-server-deploy-offline-hetzner ; terraform init && terraform destroy -auto-approve) env: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' @@ -138,6 +143,7 @@ jobs: run: nix-env -f default.nix -iA env - name: Install terraform + id: install-terraform uses: hashicorp/setup-terraform@v3 with: terraform_version: "^1.3.7" @@ -149,7 +155,8 @@ jobs: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' - name: Clean up hetzner wiab-staging environment; just in case - if: always() + # Skip when terraform was never installed (earlier step failed): nothing was deployed. + if: always() && steps.install-terraform.outcome == 'success' run: (cd terraform/examples/wiab-staging-hetzner ; terraform init && terraform destroy -auto-approve) env: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' @@ -209,7 +216,10 @@ jobs: run: ./offline/demo-build/build.sh env: GPG_PRIVATE_KEY: "${{ secrets.GPG_PRIVATE_KEY }}" - DOCKER_LOGIN: "${{ secrets.DOCKER_LOGIN }}" + # read-only robot for pulling helm charts (OCI) and container images from quay.io + DOCKER_LOGIN: '${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_USERNAME }}:${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_PASSWORD }}' + OCI_REGISTRY_USERNAME: '${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_USERNAME }}' + OCI_REGISTRY_PASSWORD: '${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_PASSWORD }}' - name: Copy dev build assets tarball to S3 run: | @@ -221,6 +231,7 @@ jobs: AWS_REGION: "eu-west-1" - name: Install terraform + id: install-terraform uses: hashicorp/setup-terraform@v3 with: terraform_version: "^1.3.7" @@ -232,7 +243,8 @@ jobs: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' - name: Clean up hetzner wiab environment; just in case - if: always() + # Skip when terraform was never installed (earlier step failed): nothing was deployed. + if: always() && steps.install-terraform.outcome == 'success' run: (cd terraform/examples/wiab-demo-hetzner ; terraform init && terraform destroy -auto-approve) env: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' @@ -270,7 +282,10 @@ jobs: run: ./offline/min-build/build.sh env: GPG_PRIVATE_KEY: "${{ secrets.GPG_PRIVATE_KEY }}" - DOCKER_LOGIN: "${{ secrets.DOCKER_LOGIN }}" + # read-only robot for pulling helm charts (OCI) and container images from quay.io + DOCKER_LOGIN: '${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_USERNAME }}:${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_PASSWORD }}' + OCI_REGISTRY_USERNAME: '${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_USERNAME }}' + OCI_REGISTRY_PASSWORD: '${{ secrets.QUAY_WIRE_ALL_REPOS_READONLY_PASSWORD }}' - name: Copy min build assets tarball to S3 run: | diff --git a/changelog.d/2-wire-builds/WPB-30327-hotfix b/changelog.d/2-wire-builds/WPB-30327-hotfix new file mode 100644 index 000000000..35775b3d7 --- /dev/null +++ b/changelog.d/2-wire-builds/WPB-30327-hotfix @@ -0,0 +1 @@ +Changed: build the 2026-Q2 hotfix bundle from wire-builds 11d3b560, which ships the ingress-nginx-controller chart 6.1.0 from the OCI registry `oci://quay.io/wire/charts/stable`; helm charts are now also pulled from OCI registries (with quay.io robot credentials), and the bundled ingress-nginx controller image is `quay.io/wire/ingress-nginx-chainguard/controller:v1.15.16-20261119135009.gb3cf87b` (NGINX fixes for CVE-2026-123007 / CVE-2026-123633; set `annotations-risk-level: Critical` as in `values/ingress-nginx-controller/prod-values.example.yaml`) (WPB-30327) diff --git a/changelog.d/5-bug-fixes/cd-default-wait-for-adminhost b/changelog.d/5-bug-fixes/cd-default-wait-for-adminhost new file mode 100644 index 000000000..be225e21e --- /dev/null +++ b/changelog.d/5-bug-fixes/cd-default-wait-for-adminhost @@ -0,0 +1 @@ +Fixed: wait for SSH on the adminhost private IP before running setup_nodes.yml in the default Hetzner CD environment (same as wiab-staging, #919) diff --git a/changelog.d/5-bug-fixes/fix-minio-image b/changelog.d/5-bug-fixes/fix-minio-image new file mode 100644 index 000000000..7cfb278d2 --- /dev/null +++ b/changelog.d/5-bug-fixes/fix-minio-image @@ -0,0 +1 @@ +Fixed: use mirror for fetching unavailable Minio images diff --git a/changelog.d/5-bug-fixes/hetzner-datacenters-removed b/changelog.d/5-bug-fixes/hetzner-datacenters-removed new file mode 100644 index 000000000..8e4167f79 --- /dev/null +++ b/changelog.d/5-bug-fixes/hetzner-datacenters-removed @@ -0,0 +1 @@ +Fixed: Replace removed Hetzner `hcloud_datacenters` data source (HTTP 410 since 2026-10-01) with `hcloud_locations` in the CD terraform modules and pin the hcloud provider to `~> 1.70` diff --git a/offline/cd.sh b/offline/cd.sh index 069566d94..a67e9f211 100755 --- a/offline/cd.sh +++ b/offline/cd.sh @@ -11,6 +11,8 @@ COMMIT_HASH="${GITHUB_SHA}" ARTIFACT="wire-server-deploy-static-${COMMIT_HASH}" # Retry matrix +# Locations are tried in order and exhaust all server types before moving on. +# Prefer hel1: German locations rarely have capacity. LOCATIONS=("hel1" "fsn1" "nbg1") SMALL_SERVER_TYPES=("cx23" "cx33" "cpx22") MEDIUM_SERVER_TYPES=("cx33" "cx43" "cpx32") @@ -68,8 +70,8 @@ echo "Retry plan: ${location_count} locations x ${server_type_count} server type attempt=1 deployment_succeeded=false -for server_type_index in $(seq 0 $((server_type_count - 1))); do - for location_index in $(seq 0 $((location_count - 1))); do +for location_index in $(seq 0 $((location_count - 1))); do + for server_type_index in $(seq 0 $((server_type_count - 1))); do attempt_location="${LOCATIONS[$location_index]}" attempt_small_server_type="${SMALL_SERVER_TYPES[$server_type_index]}" attempt_medium_server_type="${MEDIUM_SERVER_TYPES[$server_type_index]}" diff --git a/offline/cd_demo.sh b/offline/cd_demo.sh index d9b0ed932..2ce41674a 100755 --- a/offline/cd_demo.sh +++ b/offline/cd_demo.sh @@ -16,6 +16,8 @@ TEST_USER="demo" COMMIT_HASH="${GITHUB_SHA}" # Retry matrix +# Locations are tried in order and exhaust all server types before moving on. +# Prefer hel1: German locations rarely have capacity. LOCATIONS=("hel1" "fsn1" "nbg1") SERVER_TYPES=("cx53" "cpx62") @@ -62,8 +64,8 @@ echo "Retry plan: ${location_count} locations x ${server_type_count} server type attempt=1 deployment_succeeded=false -for server_type_index in $(seq 0 $((server_type_count - 1))); do - for location_index in $(seq 0 $((location_count - 1))); do +for location_index in $(seq 0 $((location_count - 1))); do + for server_type_index in $(seq 0 $((server_type_count - 1))); do attempt_location="${LOCATIONS[$location_index]}" attempt_server_type="${SERVER_TYPES[$server_type_index]}" diff --git a/offline/cd_staging.sh b/offline/cd_staging.sh index cd4d2ccbc..dc344a4db 100755 --- a/offline/cd_staging.sh +++ b/offline/cd_staging.sh @@ -10,6 +10,8 @@ COMMIT_HASH="${GITHUB_SHA}" ARTIFACT="wire-server-deploy-static-${COMMIT_HASH}" # Retry matrix +# Locations are tried in order and exhaust all server types before moving on. +# Prefer hel1: German locations rarely have capacity. LOCATIONS=("hel1" "nbg1" "fsn1") SMALL_SERVER_TYPES=("cpx22" "cpx32" "cpx42") MEDIUM_SERVER_TYPES=("cpx42" "cpx52" "cpx62") @@ -67,8 +69,8 @@ echo "Starting deployment with automatic retry on resource unavailability..." attempt=1 deployment_succeeded=false -for server_type_index in $(seq 0 $((server_type_count - 1))); do - for location_index in $(seq 0 $((location_count - 1))); do +for location_index in $(seq 0 $((location_count - 1))); do + for server_type_index in $(seq 0 $((server_type_count - 1))); do attempt_location="${LOCATIONS[$location_index]}" attempt_small_server_type="${SMALL_SERVER_TYPES[$server_type_index]}" attempt_medium_server_type="${MEDIUM_SERVER_TYPES[$server_type_index]}" diff --git a/offline/default-build/build.sh b/offline/default-build/build.sh index 239b5937c..93b4d14f0 100755 --- a/offline/default-build/build.sh +++ b/offline/default-build/build.sh @@ -26,7 +26,7 @@ TASKS_DIR="${SCRIPT_DIR}/../tasks" # -------------------------- # pulling the charts based on builds.json, charts to be skipped are passed as arguments HELM_CHART_EXCLUDE_LIST -"${TASKS_DIR}"/proc_pull_charts.sh OUTPUT_DIR="${OUTPUT_DIR}" HELM_CHART_EXCLUDE_LIST="inbucket,wire-server-enterprise,postgresql,rust-sft,fluent-bit" +"${TASKS_DIR}"/proc_pull_charts.sh OUTPUT_DIR="${OUTPUT_DIR}" HELM_CHART_EXCLUDE_LIST="inbucket,wire-server-enterprise,postgresql,rust-sft,fluent-bit,fake-aws-s3" # pulling the charts from helm-charts repo, charts to be included are passed as arguments HELM_CHART_INCLUDE_LIST # "${TASKS_DIR}"/proc_pull_ext_charts.sh OUTPUT_DIR="${OUTPUT_DIR}" HELM_CHART_INCLUDE_LIST="postgresql-external" diff --git a/offline/tasks/proc_pull_charts.sh b/offline/tasks/proc_pull_charts.sh index f76f08568..1054ffeba 100755 --- a/offline/tasks/proc_pull_charts.sh +++ b/offline/tasks/proc_pull_charts.sh @@ -1,7 +1,11 @@ #!/usr/bin/env bash +# shellcheck disable=SC2190 set -euo pipefail OUTPUT_DIR="" +# build.json to source chart versions from; override with the WIRE_BUILD= +# argument or the WIRE_BUILD environment variable +WIRE_BUILD="${WIRE_BUILD:-https://raw.githubusercontent.com/wireapp/wire-builds/11d3b560e20bb1b10b3d69aaf57d215961ee1987/build.json}" # Default exclude lists HELM_CHART_EXCLUDE_LIST="inbucket,wire-server-enterprise,demo-smtp" @@ -15,6 +19,9 @@ do HELM_CHART_EXCLUDE_LIST=*) HELM_CHART_EXCLUDE_LIST="${arg#*=}" ;; + WIRE_BUILD=*) + WIRE_BUILD="${arg#*=}" + ;; *) echo "Unknown argument: $arg" >&2 exit 1 @@ -24,7 +31,7 @@ done # Check if OUTPUT_DIR is set if [[ -z "$OUTPUT_DIR" ]]; then - echo "usage: $0 OUTPUT_DIR=\"output-dir\" [HELM_CHART_EXCLUDE_LIST=\"chart1,chart2,...\"]" >&2 + echo "usage: $0 OUTPUT_DIR=\"output-dir\" [HELM_CHART_EXCLUDE_LIST=\"chart1,chart2,...\"] [WIRE_BUILD=\"build.json-url\"]" >&2 exit 1 fi @@ -46,9 +53,27 @@ wire_build_chart_release () { ' "${OUTPUT_DIR}/build.json" } +# Log in to an OCI registry once, if credentials are available +# (OCI_REGISTRY_USERNAME / OCI_REGISTRY_PASSWORD). Public charts are pulled +# anonymously when no credentials are set. +declare -A registry_logged_in +oci_registry_login() { + local registry="$1" + if [[ -n "${registry_logged_in[$registry]}" || -z "${OCI_REGISTRY_USERNAME:-}" ]]; then + return 0 + fi + echo "Logging in to OCI registry $registry as $OCI_REGISTRY_USERNAME" + helm registry login "$registry" --username "$OCI_REGISTRY_USERNAME" --password-stdin <<< "${OCI_REGISTRY_PASSWORD:?OCI_REGISTRY_PASSWORD must be set}" + registry_logged_in[$registry]=1 +} + # pull_charts() accepts charts in format # -# on stdin +# on stdin. +# For OCI charts, is the full chart reference +# (e.g. oci://quay.io/wire/charts/dev/wire-server), whose last path segment +# may differ from (e.g. webapp -> wire-webapp). +# Every chart is extracted to ${OUTPUT_DIR}/charts/. pull_charts() { echo "Pulling charts into ${OUTPUT_DIR}/charts ..." mkdir -p "${OUTPUT_DIR}"/charts @@ -70,20 +95,34 @@ pull_charts() { repo=${parts[1]} version=${parts[2]} - # we add and update the repo only the first time we see it to speed up the process - repo_short_name=${repos[$repo]} - if [ "$repo_short_name" == "" ]; then - n=${#repos[@]} - repo_short_name="repo_$((n+1))" - repos[$repo]=$repo_short_name - helm repo add "$repo_short_name" "$repo" - helm repo update "$repo_short_name" + if [[ "$repo" == oci://* ]]; then + # OCI charts are pulled directly by reference, no helm repo add needed + registry=${repo#oci://} + oci_registry_login "${registry%%/*}" + chart_ref="$repo" + else + # For traditional repos, add and update only on first encounter + repo_short_name=${repos[$repo]} + if [ "$repo_short_name" == "" ]; then + n=${#repos[@]} + repo_short_name="repo_$((n+1))" + repos[$repo]=$repo_short_name + helm repo add "$repo_short_name" "$repo" + helm repo update "$repo_short_name" + fi + chart_ref="$repo_short_name/$name" fi - (cd "${OUTPUT_DIR}"/charts; helm pull --version "$version" --untar "$repo_short_name/$name") + + # untar into a scratch dir, then move to charts/ so the layout does + # not depend on the chart's own name + untar_dir=$(mktemp -d) + helm pull --version "$version" --untar --untardir "$untar_dir" "$chart_ref" + rm -rf "${OUTPUT_DIR:?}/charts/${name}" + mv "$untar_dir"/* "${OUTPUT_DIR}/charts/${name}" + rm -rf "$untar_dir" done echo "Pulling charts done." } -wire_build="https://raw.githubusercontent.com/wireapp/wire-builds/41496b2de8f99c66241646dae0df0e1ec7249532/build.json" -wire_build_chart_release "$wire_build" | pull_charts +wire_build_chart_release "$WIRE_BUILD" | pull_charts diff --git a/terraform/examples/wiab-demo-hetzner/main.tf b/terraform/examples/wiab-demo-hetzner/main.tf index e667fecd1..1824c4652 100644 --- a/terraform/examples/wiab-demo-hetzner/main.tf +++ b/terraform/examples/wiab-demo-hetzner/main.tf @@ -15,11 +15,11 @@ variable "server_type" { # Get available server types and locations data "hcloud_server_types" "available" {} -data "hcloud_datacenters" "available" {} +data "hcloud_locations" "available" {} locals { available_server_type_names = [for st in data.hcloud_server_types.available.server_types : st.name] - available_location_names = [for dc in data.hcloud_datacenters.available.datacenters : dc.location.name] + available_location_names = [for l in data.hcloud_locations.available.locations : l.name] } resource "null_resource" "location_validation" { diff --git a/terraform/examples/wiab-demo-hetzner/versions.tf b/terraform/examples/wiab-demo-hetzner/versions.tf index b047ba54e..9260675da 100644 --- a/terraform/examples/wiab-demo-hetzner/versions.tf +++ b/terraform/examples/wiab-demo-hetzner/versions.tf @@ -1,7 +1,8 @@ terraform { required_providers { hcloud = { - source = "hetznercloud/hcloud" + source = "hetznercloud/hcloud" + version = "~> 1.70" } } required_version = "~> 1.1" diff --git a/terraform/examples/wiab-staging-hetzner/main.tf b/terraform/examples/wiab-staging-hetzner/main.tf index 5fb916526..65d7e5e54 100644 --- a/terraform/examples/wiab-staging-hetzner/main.tf +++ b/terraform/examples/wiab-staging-hetzner/main.tf @@ -25,12 +25,12 @@ variable "medium_server_type" { # Get available server types and locations data "hcloud_server_types" "available" {} -data "hcloud_datacenters" "available" {} +data "hcloud_locations" "available" {} # Validate the exact combination requested by the deployment script. locals { available_server_type_names = [for st in data.hcloud_server_types.available.server_types : st.name] - available_location_names = [for dc in data.hcloud_datacenters.available.datacenters : dc.location.name] + available_location_names = [for l in data.hcloud_locations.available.locations : l.name] } resource "null_resource" "location_validation" { diff --git a/terraform/examples/wiab-staging-hetzner/versions.tf b/terraform/examples/wiab-staging-hetzner/versions.tf index b047ba54e..9260675da 100644 --- a/terraform/examples/wiab-staging-hetzner/versions.tf +++ b/terraform/examples/wiab-staging-hetzner/versions.tf @@ -1,7 +1,8 @@ terraform { required_providers { hcloud = { - source = "hetznercloud/hcloud" + source = "hetznercloud/hcloud" + version = "~> 1.70" } } required_version = "~> 1.1" diff --git a/terraform/examples/wire-server-deploy-offline-hetzner/main.tf b/terraform/examples/wire-server-deploy-offline-hetzner/main.tf index 657f6ed0c..de792a0d0 100644 --- a/terraform/examples/wire-server-deploy-offline-hetzner/main.tf +++ b/terraform/examples/wire-server-deploy-offline-hetzner/main.tf @@ -29,12 +29,12 @@ variable "medium_server_type" { # Get available server types and locations data "hcloud_server_types" "available" {} -data "hcloud_datacenters" "available" {} +data "hcloud_locations" "available" {} # Validate the exact combination requested by the deployment script. locals { available_server_type_names = [for st in data.hcloud_server_types.available.server_types : st.name] - available_location_names = [for dc in data.hcloud_datacenters.available.datacenters : dc.location.name] + available_location_names = [for l in data.hcloud_locations.available.locations : l.name] } resource "null_resource" "location_validation" { diff --git a/terraform/examples/wire-server-deploy-offline-hetzner/setup_nodes.yml b/terraform/examples/wire-server-deploy-offline-hetzner/setup_nodes.yml index 316e2d97d..f7c2d9be7 100644 --- a/terraform/examples/wire-server-deploy-offline-hetzner/setup_nodes.yml +++ b/terraform/examples/wire-server-deploy-offline-hetzner/setup_nodes.yml @@ -1,4 +1,20 @@ --- +- name: Wait for adminhost private SSH + hosts: adminhost + gather_facts: no + tasks: + - name: Wait for SSH on public adminhost + wait_for_connection: + timeout: 300 + delay: 5 + + - name: Wait until adminhost private IP is reachable from public adminhost + wait_for: + host: "{{ hostvars['adminhost_local'].ansible_host }}" + port: 22 + timeout: 300 + delay: 5 + - name: Setup adminhost with dnsmasq and Docker hosts: adminhost_local become: yes diff --git a/terraform/examples/wire-server-deploy-offline-hetzner/versions.tf b/terraform/examples/wire-server-deploy-offline-hetzner/versions.tf index b047ba54e..9260675da 100644 --- a/terraform/examples/wire-server-deploy-offline-hetzner/versions.tf +++ b/terraform/examples/wire-server-deploy-offline-hetzner/versions.tf @@ -1,7 +1,8 @@ terraform { required_providers { hcloud = { - source = "hetznercloud/hcloud" + source = "hetznercloud/hcloud" + version = "~> 1.70" } } required_version = "~> 1.1" diff --git a/values/fake-aws-s3/demo-values.example.yaml b/values/fake-aws-s3/demo-values.example.yaml new file mode 100644 index 000000000..a6f24ad0a --- /dev/null +++ b/values/fake-aws-s3/demo-values.example.yaml @@ -0,0 +1,8 @@ +enabled: true +minio: + image: + repository: quay.io/wire/mirror-images/minio/minio + tag: RELEASE.2023-07-07T07-13-57Z + mcImage: + repository: quay.io/wire/mirror-images/minio/mc + tag: RELEASE.2023-06-28T21-54-17Z diff --git a/values/fake-aws-s3/prod-values.example.yaml b/values/fake-aws-s3/prod-values.example.yaml new file mode 100644 index 000000000..c03722b48 --- /dev/null +++ b/values/fake-aws-s3/prod-values.example.yaml @@ -0,0 +1,9 @@ +# Disable since prod should use an externally provided minio +enabled: false +minio: + image: + repository: quay.io/wire/mirror-images/minio/minio + tag: RELEASE.2023-07-07T07-13-57Z + mcImage: + repository: quay.io/wire/mirror-images/minio/mc + tag: RELEASE.2023-06-28T21-54-17Z diff --git a/values/fake-aws/demo-secrets.example.yaml b/values/fake-aws/demo-secrets.example.yaml index 2f475508e..a27832bd5 100644 --- a/values/fake-aws/demo-secrets.example.yaml +++ b/values/fake-aws/demo-secrets.example.yaml @@ -1,4 +1,3 @@ -# Disable since prod should use an externally provided minio fake-aws-s3: enabled: true minio: diff --git a/values/fake-aws/demo-values.example.yaml b/values/fake-aws/demo-values.example.yaml index ad09d557a..21509f24c 100644 --- a/values/fake-aws/demo-values.example.yaml +++ b/values/fake-aws/demo-values.example.yaml @@ -1,3 +1,9 @@ -# Disable since prod should use an externally provided minio fake-aws-s3: enabled: true + minio: + image: + repository: quay.io/wire/mirror-images/minio/minio + tag: RELEASE.2023-07-07T07-13-57Z + mcImage: + repository: quay.io/wire/mirror-images/minio/mc + tag: RELEASE.2023-06-28T21-54-17Z diff --git a/values/fake-aws/prod-values.example.yaml b/values/fake-aws/prod-values.example.yaml index 594c756af..998eeba6e 100644 --- a/values/fake-aws/prod-values.example.yaml +++ b/values/fake-aws/prod-values.example.yaml @@ -1,3 +1,10 @@ # Disable since prod should use an externally provided minio fake-aws-s3: enabled: false + minio: + image: + repository: quay.io/wire/mirror-images/minio/minio + tag: RELEASE.2023-07-07T07-13-57Z + mcImage: + repository: quay.io/wire/mirror-images/minio/mc + tag: RELEASE.2023-06-28T21-54-17Z diff --git a/values/ingress-nginx-controller/demo-values.example.yaml b/values/ingress-nginx-controller/demo-values.example.yaml index c196f9c90..20c330c3a 100644 --- a/values/ingress-nginx-controller/demo-values.example.yaml +++ b/values/ingress-nginx-controller/demo-values.example.yaml @@ -7,14 +7,23 @@ ingress-nginx: kind: Deployment service: type: NodePort + config: + # Controller >= 1.12 defaults to "High" and rejects ingresses with + # *-snippet annotations (risk "Critical"), e.g. the minio, nginz and + # federator ingresses of nginx-ingress-services. + annotations-risk-level: Critical image: - tag: "v1.10.6" + # Patched build of https://github.com/chainguard-forks/ingress-nginx controller-v1.15.16 + # (NGINX fixes for CVE-2026-123007 / CVE-2026-123633), see CO-79. + # Timestamped tag = sha256:ceab4e092799cb93beb3dae20bd06c5902022ead7e6c51b3c8fc554332ebecd5 + repository: quay.io/wire/ingress-nginx-chainguard/controller + tag: "v1.15.16-20261119135009.gb3cf87b" digest: "" digestChroot: "" admissionWebhooks: patch: image: - tag: "v20220916-gd32f8c343" + tag: "v1.6.9" digest: "" # Enable prometheus operator to scrape metrics from the ingress-nginx controller with servicemonitor. diff --git a/values/ingress-nginx-controller/load-balancer.example.yaml b/values/ingress-nginx-controller/load-balancer.example.yaml index c6b5f1077..47cdc036b 100644 --- a/values/ingress-nginx-controller/load-balancer.example.yaml +++ b/values/ingress-nginx-controller/load-balancer.example.yaml @@ -3,14 +3,23 @@ # `containerd`. ingress-nginx: controller: + config: + # Controller >= 1.12 defaults to "High" and rejects ingresses with + # *-snippet annotations (risk "Critical"), e.g. the minio, nginz and + # federator ingresses of nginx-ingress-services. + annotations-risk-level: Critical image: - tag: "v1.10.6" + # Patched build of https://github.com/chainguard-forks/ingress-nginx controller-v1.15.16 + # (NGINX fixes for CVE-2026-123007 / CVE-2026-123633), see CO-79. + # Timestamped tag = sha256:ceab4e092799cb93beb3dae20bd06c5902022ead7e6c51b3c8fc554332ebecd5 + repository: quay.io/wire/ingress-nginx-chainguard/controller + tag: "v1.15.16-20261119135009.gb3cf87b" digest: "" digestChroot: "" admissionWebhooks: patch: image: - tag: "v20220916-gd32f8c343" + tag: "v1.6.9" digest: "" # Enable prometheus operator to scrape metrics from the ingress-nginx controller with servicemonitor. metrics: diff --git a/values/ingress-nginx-controller/prod-values.example.yaml b/values/ingress-nginx-controller/prod-values.example.yaml index a08e39fa6..1bc866ddb 100644 --- a/values/ingress-nginx-controller/prod-values.example.yaml +++ b/values/ingress-nginx-controller/prod-values.example.yaml @@ -7,14 +7,23 @@ ingress-nginx: kind: DaemonSet service: type: NodePort + config: + # Controller >= 1.12 defaults to "High" and rejects ingresses with + # *-snippet annotations (risk "Critical"), e.g. the minio, nginz and + # federator ingresses of nginx-ingress-services. + annotations-risk-level: Critical image: - tag: "v1.10.6" + # Patched build of https://github.com/chainguard-forks/ingress-nginx controller-v1.15.16 + # (NGINX fixes for CVE-2026-123007 / CVE-2026-123633), see CO-79. + # Timestamped tag = sha256:ceab4e092799cb93beb3dae20bd06c5902022ead7e6c51b3c8fc554332ebecd5 + repository: quay.io/wire/ingress-nginx-chainguard/controller + tag: "v1.15.16-20261119135009.gb3cf87b" digest: "" digestChroot: "" admissionWebhooks: patch: image: - tag: "v20220916-gd32f8c343" + tag: "v1.6.9" digest: "" # Enable prometheus operator to scrape metrics from the ingress-nginx controller with servicemonitor. metrics: