Skip to content

Pre-publish hook, something similar, or nothing? #117

@consideRatio

Description

@consideRatio

Proposed change

To somehow enable chartpress to do various things just before packaging a Helm chart

  • Copy a README.md file and images to the Helm chart folder to be packaged.
  • Transform schema.yaml in z2jh to become a Helm 3 compliant values.schema.json for automatic validation.

Alternative options

To run such script separately before packaging a chart to be pushed.

Who would use this feature?

JupyterHub/BinderHub/Pebble in order to provide a README and values.schema.json.

(Optional): Suggest a solution

Perhaps to provide a hook to run?


While writing this down I started thinking it can make more sense to not embed this logic in chartpress, but instead run such logic separately before doing chartpress --publish as adding it to chartpress may not really help... Hmm...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions