mirror of
https://github.com/bitnami/charts.git
synced 2026-03-09 15:38:00 +08:00
[bitnami/common] Affinities section does not use common.names.namespace (#11137)
* [bitnami/common] use common.names.namespace on affinities section Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com> * [bitnami/common] bump patch chart version Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com> * [bitnami/common] revert unrelated whitespace deleting Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com> * [bitnami/common] update impl Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>
This commit is contained in:
@@ -20,4 +20,4 @@ sources:
|
||||
- https://github.com/bitnami/charts
|
||||
- https://www.bitnami.com/
|
||||
type: library
|
||||
version: 1.16.0
|
||||
version: 1.16.1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* vim: set filetype=mustache: */}}
|
||||
|
||||
{{/*
|
||||
Return a soft nodeAffinity definition
|
||||
Return a soft nodeAffinity definition
|
||||
{{ include "common.affinities.nodes.soft" (dict "key" "FOO" "values" (list "BAR" "BAZ")) -}}
|
||||
*/}}
|
||||
{{- define "common.affinities.nodes.soft" -}}
|
||||
@@ -63,7 +63,7 @@ preferredDuringSchedulingIgnoredDuringExecution:
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
namespaces:
|
||||
- {{ .context.Release.Namespace | quote }}
|
||||
- {{ include "common.names.namespace" .context | quote }}
|
||||
topologyKey: kubernetes.io/hostname
|
||||
weight: 1
|
||||
{{- end -}}
|
||||
@@ -85,7 +85,7 @@ requiredDuringSchedulingIgnoredDuringExecution:
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
namespaces:
|
||||
- {{ .context.Release.Namespace | quote }}
|
||||
- {{ include "common.names.namespace" .context | quote }}
|
||||
topologyKey: kubernetes.io/hostname
|
||||
{{- end -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user