[bitnami/nginx] Global Cluster Domain Support for AutoGenerated SSL Certificate (#33769)

* Update tls-secret.yaml

Signed-off-by: Koren Peretz <62677694+KorenP1@users.noreply.github.com>

* Update Chart.yaml

Signed-off-by: Koren Peretz <62677694+KorenP1@users.noreply.github.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: Koren Peretz <62677694+KorenP1@users.noreply.github.com>
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Koren Peretz
2025-05-21 12:54:48 +03:00
committed by GitHub
parent 8768d39c26
commit 13787be692
3 changed files with 9 additions and 4 deletions

View File

@@ -1,8 +1,13 @@
# Changelog
## 20.0.2 (2025-05-13)
## 20.0.3 (2025-05-19)
* [bitnami/nginx] :zap: :arrow_up: Update dependency references ([#33641](https://github.com/bitnami/charts/pull/33641))
* [bitnami/nginx] Global Cluster Domain Support for AutoGenerated SSL Certificate ([#33769](https://github.com/bitnami/charts/pull/33769))
## <small>20.0.2 (2025-05-13)</small>
* [bitnami/kubeapps] Deprecation followup (#33579) ([77e312c](https://github.com/bitnami/charts/commit/77e312c1772d4d7c4dc5d3ac0e80f4e452e3a062)), closes [#33579](https://github.com/bitnami/charts/issues/33579)
* [bitnami/nginx] :zap: :arrow_up: Update dependency references (#33641) ([7328b50](https://github.com/bitnami/charts/commit/7328b50368ed9001a1235a5929721500d46989d0)), closes [#33641](https://github.com/bitnami/charts/issues/33641)
## <small>20.0.1 (2025-05-06)</small>

View File

@@ -37,4 +37,4 @@ maintainers:
name: nginx
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/nginx
version: 20.0.2
version: 20.0.3

View File

@@ -17,7 +17,7 @@ metadata:
type: kubernetes.io/tls
data:
{{- if .Values.tls.autoGenerated }}
{{- $cert := genSignedCert (include "common.names.fullname" .) nil (list (include "common.names.fullname" .) (printf "%s.%s" (include "common.names.fullname" .) (include "common.names.namespace" .)) (printf "%s.%s.svc" (include "common.names.fullname" .) (include "common.names.namespace" .)) (printf "%s.%s.svc.%s" (include "common.names.fullname" .) (include "common.names.namespace" .) .Values.clusterDomain)) 365 $ca }}
{{- $cert := genSignedCert (include "common.names.fullname" .) nil (list (include "common.names.fullname" .) (printf "%s.%s" (include "common.names.fullname" .) (include "common.names.namespace" .)) (printf "%s.%s.svc" (include "common.names.fullname" .) (include "common.names.namespace" .)) (printf "%s.%s.svc.%s" (include "common.names.fullname" .) (include "common.names.namespace" .) (default .Values.clusterDomain .Values.global.clusterDomain))) 365 $ca }}
{{ .Values.tls.certFilename }}: {{ include "common.secrets.lookup" (dict "secret" (printf "%s-tls" (include "common.names.fullname" .)) "key" .Values.tls.certFilename "defaultValue" $cert.Cert "context" $) }}
{{ .Values.tls.certKeyFilename }}: {{ include "common.secrets.lookup" (dict "secret" (printf "%s-tls" (include "common.names.fullname" .)) "key" .Values.tls.certKeyFilename "defaultValue" $cert.Key "context" $) }}
{{ .Values.tls.certCAFilename }}: {{ include "common.secrets.lookup" (dict "secret" (printf "%s-tls" (include "common.names.fullname" .)) "key" .Values.tls.certCAFilename "defaultValue" $ca.Cert "context" $) }}