Files
charts/bitnami/nginx/Chart.yaml
Andrea Pilo d65039a51e [bitnami/nginx] feat: add checksum annotation for existingServerBlockConfigmap via lookup (#36470)
* feat(nginx): add checksum annotation for existingServerBlockConfigmap

When existingServerBlockConfigmap or existingStreamServerBlockConfigmap
are set, use helm lookup to read the ConfigMap from the cluster and
compute a checksum annotation on the pod template. This triggers a
rolling restart whenever the referenced ConfigMap content changes,
consistent with the behavior already provided for inline serverBlock.

Also fix a copy-paste error: the stream server block checksum condition
was checking existingServerBlockConfigmap instead of
existingStreamServerBlockConfigmap.

Note: lookup returns nil during helm template (offline dry-run), so
the annotation is silently omitted in that case. This is expected
and consistent with how lookup behaves across all Helm charts.

Signed-off-by: Andrea Pilo <apilo@cuebiq.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

---------

Signed-off-by: Andrea Pilo <apilo@cuebiq.com>
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
2026-03-04 10:02:41 +01:00

40 lines
1.1 KiB
YAML

# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
annotations:
images: |
- name: git
image: docker.io/bitnami/git:2.51.0-debian-12-r0
- name: nginx
image: docker.io/bitnami/nginx:1.29.1-debian-12-r0
- name: nginx-exporter
image: docker.io/bitnami/nginx-exporter:1.4.2-debian-12-r9
licenses: Apache-2.0
tanzuCategory: clusterUtility
apiVersion: v2
appVersion: 1.29.1
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 2.x.x
description: NGINX Open Source is a web server that can be also used as a reverse
proxy, load balancer, and HTTP cache. Recommended for high-demanding sites due to
its ability to provide faster content.
home: https://bitnami.com
icon: https://dyltqmyl993wv.cloudfront.net/assets/stacks/nginx/img/nginx-stack-220x234.png
keywords:
- nginx
- http
- web
- www
- reverse proxy
maintainers:
- name: Broadcom, Inc. All Rights Reserved.
url: https://github.com/bitnami/charts
name: nginx
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/nginx
version: 22.1.1