Skip to content

Commit

Permalink
feat: add initContainers to sdk job
Browse files Browse the repository at this point in the history
  • Loading branch information
meysam81 committed Oct 26, 2023
1 parent 581e507 commit 32e9dd6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/licenseware-sdk-v2/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.13.1
version: 0.14.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. Versions are not expected to
Expand Down
4 changes: 4 additions & 0 deletions charts/licenseware-sdk-v2/templates/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ spec:
securityContext:
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
{{ with .Values.job.initContainers }}
initContainers:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ tpl (default .Values.global.containerName .Values.job.containerName) $ | default (include "licenseware-sdk-v2.fullname" .) }}
{{- with .Values.job.command }}
Expand Down
1 change: 1 addition & 0 deletions charts/licenseware-sdk-v2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ workerApp:
tolerations: []

job:
initContainers: []
activeDeadlineSeconds: null
affinity: {}
args:
Expand Down

0 comments on commit 32e9dd6

Please sign in to comment.