mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
feat(common): Release common library 3.6.0 (#364)
Signed-off-by: solidDoWant <fred.heinecke@yahoo.com> Co-authored-by: solidDoWant <fred.heinecke@yahoo.com>
This commit is contained in:
parent
6d23aa66ca
commit
e68b41ed0a
11 changed files with 240 additions and 9 deletions
|
@ -10,6 +10,14 @@ Returns the value for labels
|
|||
(dict "app.kubernetes.io/component" $controllerObject.identifier)
|
||||
-}}
|
||||
|
||||
{{- /* Include global labels if specified */ -}}
|
||||
{{- if $rootContext.Values.global.propagateGlobalMetadataToPods -}}
|
||||
{{- $labels = merge
|
||||
(include "bjw-s.common.lib.metadata.globalLabels" $rootContext | fromYaml)
|
||||
$labels
|
||||
-}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Fetch the Pod selectorLabels */ -}}
|
||||
{{- $selectorLabels := include "bjw-s.common.lib.metadata.selectorLabels" $rootContext | fromYaml -}}
|
||||
{{- if not (empty $selectorLabels) -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue