mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
feat(common): Release common-3.0.1
This commit is contained in:
parent
9fa045e337
commit
14e70ce553
18 changed files with 38 additions and 38 deletions
|
@ -12,7 +12,7 @@ using the common library.
|
|||
{{- end -}}
|
||||
|
||||
{{- $labels := merge
|
||||
(dict "common.bjw-s.dev/controller" $cronjobObject.identifier)
|
||||
(dict "app.kubernetes.io/component" $cronjobObject.identifier)
|
||||
($cronjobObject.labels | default dict)
|
||||
(include "bjw-s.common.lib.metadata.allLabels" $rootContext | fromYaml)
|
||||
-}}
|
||||
|
|
|
@ -7,7 +7,7 @@ within the common library.
|
|||
{{- $daemonsetObject := .object -}}
|
||||
|
||||
{{- $labels := merge
|
||||
(dict "common.bjw-s.dev/controller" $daemonsetObject.identifier)
|
||||
(dict "app.kubernetes.io/component" $daemonsetObject.identifier)
|
||||
($daemonsetObject.labels | default dict)
|
||||
(include "bjw-s.common.lib.metadata.allLabels" $rootContext | fromYaml)
|
||||
-}}
|
||||
|
@ -30,7 +30,7 @@ spec:
|
|||
revisionHistoryLimit: {{ default 3 $daemonsetObject.revisionHistoryLimit }}
|
||||
selector:
|
||||
matchLabels:
|
||||
common.bjw-s.dev/controller: {{ $daemonsetObject.identifier }}
|
||||
app.kubernetes.io/component: {{ $daemonsetObject.identifier }}
|
||||
{{- include "bjw-s.common.lib.metadata.selectorLabels" $rootContext | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
|
|
|
@ -7,7 +7,7 @@ using the common library.
|
|||
{{- $deploymentObject := .object -}}
|
||||
|
||||
{{- $labels := merge
|
||||
(dict "common.bjw-s.dev/controller" $deploymentObject.identifier)
|
||||
(dict "app.kubernetes.io/component" $deploymentObject.identifier)
|
||||
($deploymentObject.labels | default dict)
|
||||
(include "bjw-s.common.lib.metadata.allLabels" $rootContext | fromYaml)
|
||||
-}}
|
||||
|
@ -50,7 +50,7 @@ spec:
|
|||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
common.bjw-s.dev/controller: {{ $deploymentObject.identifier }}
|
||||
app.kubernetes.io/component: {{ $deploymentObject.identifier }}
|
||||
{{- include "bjw-s.common.lib.metadata.selectorLabels" $rootContext | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
|
|
|
@ -7,7 +7,7 @@ within the common library.
|
|||
{{- $jobObject := .object -}}
|
||||
|
||||
{{- $labels := merge
|
||||
(dict "common.bjw-s.dev/controller" $jobObject.identifier)
|
||||
(dict "app.kubernetes.io/component" $jobObject.identifier)
|
||||
($jobObject.labels | default dict)
|
||||
(include "bjw-s.common.lib.metadata.allLabels" $rootContext | fromYaml)
|
||||
-}}
|
||||
|
|
|
@ -20,7 +20,7 @@ within the common library.
|
|||
{{- else -}}
|
||||
{{- $podSelector = dict "matchLabels" (merge
|
||||
($networkPolicyObject.extraSelectorLabels | default dict)
|
||||
(dict "common.bjw-s.dev/controller" $networkPolicyObject.controller)
|
||||
(dict "app.kubernetes.io/component" $networkPolicyObject.controller)
|
||||
(include "bjw-s.common.lib.metadata.selectorLabels" $rootContext | fromYaml)
|
||||
) -}}
|
||||
{{- end -}}
|
||||
|
|
|
@ -96,7 +96,7 @@ spec:
|
|||
{{- end -}}
|
||||
{{- with (merge
|
||||
($serviceObject.extraSelectorLabels | default dict)
|
||||
(dict "common.bjw-s.dev/controller" $serviceObject.controller)
|
||||
(dict "app.kubernetes.io/component" $serviceObject.controller)
|
||||
(include "bjw-s.common.lib.metadata.selectorLabels" $rootContext | fromYaml)
|
||||
) }}
|
||||
selector: {{- toYaml . | nindent 4 }}
|
||||
|
|
|
@ -7,7 +7,7 @@ within the common library.
|
|||
{{- $statefulsetObject := .object -}}
|
||||
|
||||
{{- $labels := merge
|
||||
(dict "common.bjw-s.dev/controller" $statefulsetObject.identifier)
|
||||
(dict "app.kubernetes.io/component" $statefulsetObject.identifier)
|
||||
($statefulsetObject.labels | default dict)
|
||||
(include "bjw-s.common.lib.metadata.allLabels" $rootContext | fromYaml)
|
||||
-}}
|
||||
|
@ -38,7 +38,7 @@ spec:
|
|||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
common.bjw-s.dev/controller: {{ $statefulsetObject.identifier }}
|
||||
app.kubernetes.io/component: {{ $statefulsetObject.identifier }}
|
||||
{{- include "bjw-s.common.lib.metadata.selectorLabels" $rootContext | nindent 6 }}
|
||||
serviceName: {{ include "bjw-s.common.lib.chart.names.fullname" $rootContext }}
|
||||
template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue