Skip to content

Commit

Permalink
Upgrade nginx dependencies git SHAs and versions
Browse files Browse the repository at this point in the history
Signed-off-by: Mark McCormick <[email protected]>
  • Loading branch information
mamccorm committed Oct 9, 2024
1 parent 642b2d6 commit 98843ed
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions ingress-nginx-controller-1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
package:
name: ingress-nginx-controller-1.11
version: 1.11.3
# There are manual changes to review between each package update. See 'vars:' section.
epoch: 0
description: "Ingress-NGINX Controller for Kubernetes"
copyright:
Expand Down Expand Up @@ -126,19 +127,28 @@ environment:
- zlib-dev

vars:
# These environment variables need updated for each new release. Retrieve their
# correct values from here, replacing <package-version> with the package version.
# - https://github.com/kubernetes/ingress-nginx/blob/controller-v<package-version>/images/nginx/rootfs/build.sh
# On occasion, these versions may be bumped ahead of upstream (above link), to
# remediate vulnerabilities.
NGINX_VERSION: "1.25.5"
NDK_VERSION: "0.3.3"
SETMISC_VERSION: "0.33"
MORE_HEADERS_VERSION: "0.37"
NGINX_DIGEST_AUTH: "1.0.0"
NGINX_SUBSTITUTIONS: "e12e965ac1837ca709709f9a26f572a54d83430e"
MODSECURITY_NGINX_VERSION: "ef64996aedd4bb5fa1831631361244813d48b82f"
OWASP_MODSECURITY_CRS_VERSION: "v4.4.0"
LUA_NGX_VERSION: "0.10.27"
LUA_STREAM_NGX_VERSION: "0.0.15"
LUA_UPSTREAM_VERSION: "542be0893543a4e42d89f6dd85372972f5ff2a36"
GEOIP2_VERSION: "a607a41a8115fecfc05b5c283c81532a3d605425"
# Does not do versioning, and repo is seldom updated. Grab the latest master
# branch git commit SHA: https://github.com/google/ngx_brotli/commits/master
NGX_BROTLI_SHA: 63ca02abdcf79c9e788d2eedcc388d2335902e52
# TODO: ModSecurity-nginx needs a release beyond v1.0.3 to work properly
# see https://github.com/owasp-modsecurity/ModSecurity-nginx/issues/324
MODSECURITY_NGINX_VERSION: "ef64996aedd4bb5fa1831631361244813d48b82f"

pipeline:
- uses: git-checkout
Expand All @@ -147,13 +157,11 @@ pipeline:
tag: controller-v${{package.version}}
expected-commit: f6456ea86c6c330e7cf401ade70ce1faa757265b

# TODO: ModSecurity-nginx needs a release beyond v1.0.3 to work properly
# see https://github.com/owasp-modsecurity/ModSecurity-nginx/issues/324
- uses: git-checkout
with:
repository: https://github.com/owasp-modsecurity/ModSecurity-nginx
branch: master
expected-commit: f6456ea86c6c330e7cf401ade70ce1faa757265b
expected-commit: ${{vars.MODSECURITY_NGINX_VERSION}}
destination: ModSecurity-nginx-${{vars.MODSECURITY_NGINX_VERSION}}

- name: Build ingress-nginx controller from source
Expand Down Expand Up @@ -529,6 +537,7 @@ subpackages:

update:
enabled: true
manual: true
github:
identifier: kubernetes/ingress-nginx
strip-prefix: controller-v
Expand Down

0 comments on commit 98843ed

Please sign in to comment.