[bitnami/apisix] Fixed bug caused by inconsistent usage of context with dataPlane.extraEnvVars (#36252)

* Fixed bug caused by inconsistent usage of context when using `common.tplvalues.render` on `dataPlane.extraEnvVars`

Signed-off-by: James Riley McHugh <mchugh.james1@gmail.com>

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

---------

Signed-off-by: James Riley McHugh <mchugh.james1@gmail.com>
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
James McHugh
2025-10-08 10:39:57 -04:00
committed by GitHub
parent b6abcbe116
commit 507b735b7f
3 changed files with 8 additions and 4 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 6.0.2 (2025-09-16)
* [bitnami/apisix] Fixed bug caused by inconsistent usage of context with dataPlane.extraEnvVars ([#36252](https://github.com/bitnami/charts/pull/36252))
## 6.0.0 (2025-08-20)
* [bitnami/apisix] major: Integrate apisix-dashboard into apisix ([#36136](https://github.com/bitnami/charts/pull/36136))
* [bitnami/apisix] major: Integrate apisix-dashboard into apisix (#36136) ([5a872ff](https://github.com/bitnami/charts/commit/5a872ffa25422b04ab276236293b8179268050ed)), closes [#36136](https://github.com/bitnami/charts/issues/36136)
## <small>5.1.6 (2025-08-18)</small>

View File

@@ -45,4 +45,4 @@ sources:
- https://github.com/bitnami/charts/tree/main/bitnami/apisix
- https://github.com/bitnami/charts/tree/main/bitnami/apisix-dashboard
- https://github.com/bitnami/charts/tree/main/bitnami/apisix-ingress-controller
version: 6.0.1
version: 6.0.2

View File

@@ -552,7 +552,7 @@ Render configuration for the APISIX components
{{- end }}
{{- end }}
{{- if $block.extraEnvVars }}
{{- include "common.tplvalues.render" (dict "value" $block.extraEnvVars "context" $) | nindent 4 }}
{{- include "common.tplvalues.render" (dict "value" $block.extraEnvVars "context" .context) | nindent 4 }}
{{- end }}
envFrom:
{{- if $block.extraEnvVarsCM }}
@@ -561,7 +561,7 @@ Render configuration for the APISIX components
{{- end }}
{{- if $block.extraEnvVarsSecret }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" $block.extraEnvVarsSecret "context" $) }}
name: {{ include "common.tplvalues.render" (dict "value" $block.extraEnvVarsSecret "context" .context) }}
{{- end }}
volumeMounts:
- name: empty-dir