mirror of https://github.com/helm/helm
Read SOURCE_DATE_EPOCH in the CLI layer (pkg/cmd/package.go) and pass it to the action layer as Package.SourceDateEpoch *time.Time. Before calling Save(), stampModTimes() overwrites every tar-entry ModTime in the chart (including templates, files, raw values, schema and sub-charts) with the requested epoch. writeToTar and Save are not modified: the caller now supplies the epoch as the modTime argument, which is how mattfarina's review (#32060) asked for this to be structured. Closes #31439 Signed-off-by: Ilya Kiselev <kis-ilya-a@yandex.ru>pull/32173/head
parent
d374e823b2
commit
1df209e084
Loading…
Reference in new issue