diff --git a/bitnami/common/CHANGELOG.md b/bitnami/common/CHANGELOG.md index 07bef3405ba19e..0c060aba335882 100644 --- a/bitnami/common/CHANGELOG.md +++ b/bitnami/common/CHANGELOG.md @@ -1,8 +1,13 @@ # Changelog -## 2.30.1 (2025-04-28) +## 2.30.2 (2025-04-30) -* [bitnami/common] Allows tpl in provided passwords "common.secrets.passwords.manage" ([#33196](https://github.com/bitnami/charts/pull/33196)) +* [bitnami/common] add namespaces to extraPodAffinityTerms for affinities ([#33173](https://github.com/bitnami/charts/pull/33173)) + +## 2.30.1 (2025-04-30) + +* [bitnami/common] Allows tpl in provided passwords "common.secrets.passwords.manage" (#33196) ([1f53dd8](https://github.com/bitnami/charts/commit/1f53dd862f2aca1071f5734c3ba825e3ff4fa383)), closes [#33196](https://github.com/bitnami/charts/issues/33196) +* [bitnami/common] Restore 'Paremeters' section of the README (#32861) ([72f3f35](https://github.com/bitnami/charts/commit/72f3f353e35da99060a1662770655a12a2253887)), closes [#32861](https://github.com/bitnami/charts/issues/32861) ## 2.30.0 (2025-02-19) diff --git a/bitnami/common/Chart.yaml b/bitnami/common/Chart.yaml index 6fbc5ad7e1802a..de4b3730bd73c0 100644 --- a/bitnami/common/Chart.yaml +++ b/bitnami/common/Chart.yaml @@ -6,7 +6,7 @@ annotations: licenses: Apache-2.0 apiVersion: v2 # Please make sure that version and appVersion are always the same. -appVersion: 2.30.0 +appVersion: 2.30.2 description: A Library Helm Chart for grouping common logic between bitnami charts. This chart is not deployable by itself. home: https://bitnami.com icon: https://dyltqmyl993wv.cloudfront.net/downloads/logos/bitnami-mark.png @@ -23,4 +23,4 @@ name: common sources: - https://github.com/bitnami/charts/tree/main/bitnami/common type: library -version: 2.30.1 +version: 2.30.2 diff --git a/bitnami/common/templates/_affinities.tpl b/bitnami/common/templates/_affinities.tpl index d387dbe632479c..c6ccc62e2fa641 100644 --- a/bitnami/common/templates/_affinities.tpl +++ b/bitnami/common/templates/_affinities.tpl @@ -82,7 +82,7 @@ preferredDuringSchedulingIgnoredDuringExecution: namespaces: - {{ .context.Release.Namespace }} {{- with $extraNamespaces }} - {{ include "common.tplvalues.render" (dict "value" . "context" $) | nindent 8 }} + {{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 8 }} {{- end }} {{- end }} topologyKey: {{ include "common.affinities.topologyKey" (dict "topologyKey" .topologyKey) }} @@ -97,6 +97,13 @@ preferredDuringSchedulingIgnoredDuringExecution: {{- range $key, $value := .extraMatchLabels }} {{ $key }}: {{ $value | quote }} {{- end }} + {{- if .namespaces }} + namespaces: + - {{ $.context.Release.Namespace }} + {{- with .namespaces }} + {{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 8 }} + {{- end }} + {{- end }} topologyKey: {{ include "common.affinities.topologyKey" (dict "topologyKey" .topologyKey) }} weight: {{ .weight | default 1 -}} {{- end -}} @@ -121,13 +128,13 @@ requiredDuringSchedulingIgnoredDuringExecution: {{- range $key, $value := $extraMatchLabels }} {{ $key }}: {{ $value | quote }} {{- end }} - {{- if $extraNamespaces }} - namespaces: - - {{ .context.Release.Namespace }} - {{- with $extraNamespaces }} - {{ include "common.tplvalues.render" (dict "value" . "context" $) | nindent 8 }} - {{- end }} + {{- if $extraNamespaces }} + namespaces: + - {{ .context.Release.Namespace }} + {{- with $extraNamespaces }} + {{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 6 }} {{- end }} + {{- end }} topologyKey: {{ include "common.affinities.topologyKey" (dict "topologyKey" .topologyKey) }} {{- range $extraPodAffinityTerms }} - labelSelector: @@ -138,6 +145,13 @@ requiredDuringSchedulingIgnoredDuringExecution: {{- range $key, $value := .extraMatchLabels }} {{ $key }}: {{ $value | quote }} {{- end }} + {{- if .namespaces }} + namespaces: + - {{ $.context.Release.Namespace }} + {{- with .namespaces }} + {{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 6 }} + {{- end }} + {{- end }} topologyKey: {{ include "common.affinities.topologyKey" (dict "topologyKey" .topologyKey) }} {{- end -}} {{- end -}}