pepr icon indicating copy to clipboard operation
pepr copied to clipboard

feat: add flag for chart based zarf.yaml and update templated fields in chart deployments

Open zachariahmiller opened this issue 1 month ago • 0 comments

Description

Updates npx pepr build to take in an optional argument --zarf chart|manifest so that the generated zarf yaml will use the generated chart vs the manifest. Default behavior is still to use the manifest. pepr 822

Also adds templating to the pod annotations on the deployments and extra volume/volumeMounts in support of uds-core 417

I tested the generation locally for both the --zarf flag as well as rendering the templates with a values file that added pod annotations and extra volumes. There didn't seems to be any area really covering testing this right now. The existing tests in helm.test.ts do still generically check the templates are valid that were updated here.

Related Issue

Fixes # 822 Relates to # 417

Type of change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Other (security config, docs update, etc)

Checklist before merging

zachariahmiller avatar May 24 '24 04:05 zachariahmiller