Skip to content

Commit

Permalink
add job labels and annotations
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <[email protected]>
  • Loading branch information
monotek committed Aug 7, 2024
1 parent 144aadc commit b9af682
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion charts/temporal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies:
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.44.0
version: 0.45.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 1.24.2
10 changes: 8 additions & 2 deletions charts/temporal/templates/server-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ spec:
metadata:
name: {{ include "temporal.componentname" (list . "schema") }}
labels:
# Currently there are no labels for job type
{{- include "temporal.resourceLabels" (list . "database" "") | nindent 8 }}
{{- with $.Values.schema.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $.Values.schema.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{ include "temporal.serviceAccount" . }}
{{- include "temporal.serviceAccount" . }}
restartPolicy: OnFailure
initContainers:
{{- if $.Values.cassandra.enabled }}
Expand Down
2 changes: 2 additions & 0 deletions charts/temporal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ schema:
update:
enabled: true
backoffLimit: 100
podAnnotations: {}
podLabels: {}
resources: {}
containerSecurityContext: {}
securityContext: {}
Expand Down

0 comments on commit b9af682

Please sign in to comment.