Skip to content

Commit

Permalink
datapipe 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
elephantum committed Jul 24, 2023
1 parent 847b0ff commit e80ea81
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions charts/datapipe/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.2.2

* Include `fullName` into `CronJob` name

# 0.2.1

* Add support for `.Values.env` to loop-cronjob
Expand Down
2 changes: 1 addition & 1 deletion charts/datapipe/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.2.1
version: 0.2.2

# 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
3 changes: 2 additions & 1 deletion charts/datapipe/templates/loops-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
# for each .Values.loops item, create a cronjob

{{ $labels := include "datapipe.labels" . }}
{{ $fullName := include "datapipe.fullname" . }}

{{- range .Values.loops }}

apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .name }}
name: {{ $fullName}}-{{ .name }}
labels:
{{- $labels | nindent 4 }}
spec:
Expand Down
4 changes: 2 additions & 2 deletions charts/datapipe/tests/__snapshot__/simple_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ All manifests should match snapshot:
app.kubernetes.io/name: datapipe
app.kubernetes.io/version: 1.16.0
helm.sh/chart: datapipe-0.1.0
name: loop-hourly
name: datapipe-loop-hourly
spec:
concurrencyPolicy: Forbid
jobTemplate:
Expand Down Expand Up @@ -42,7 +42,7 @@ All manifests should match snapshot:
app.kubernetes.io/name: datapipe
app.kubernetes.io/version: 1.16.0
helm.sh/chart: datapipe-0.1.0
name: loop-daily
name: datapipe-loop-daily
spec:
concurrencyPolicy: Forbid
jobTemplate:
Expand Down

0 comments on commit e80ea81

Please sign in to comment.