Skip to content

feat: add an optional copy assets job as a pre-install and pre-upgrad helm hook - #5

Merged
fraxachun merged 2 commits into
v1.xfrom
copy-assets-pre-hook-job
Sep 7, 2026
Merged

fraxachun merged 2 commits into
v1.xfrom
copy-assets-pre-hook-job

Conversation

@vps-vierlip

Copy link
Copy Markdown
Contributor

The job runs the site image with the same environment, secrets and image pull secret as the deployment. It is configured under copyAssets in the values.

Its secrets and config map are deleted once the hook has finished, whether it succeeded or failed. The job keeps before-hook-creation, so its logs are still readable after a failed release.

Helm hooks: https://helm.sh/docs/topics/charts_hooks/

…e hook

The job runs the site image with the same environment, secrets and image pull
secret as the deployment. It is configured under `copyAssets` in the values.

Its secrets and config map are deleted once the hook has finished, whether it
succeeded or failed. The job keeps `before-hook-creation`, so its logs are still
readable after a failed release.
kaufmo
kaufmo previously approved these changes Sep 7, 2026
VPS-Georg
VPS-Georg previously approved these changes Sep 7, 2026
@vps-vierlip
vps-vierlip dismissed stale reviews from VPS-Georg and kaufmo via 18de1da September 7, 2026 10:28
@fraxachun
fraxachun merged commit 988ede8 into v1.x Sep 7, 2026
1 check passed
@kaufmo
kaufmo deleted the copy-assets-pre-hook-job branch September 7, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants