Getting all Image references from a chart convenience function #11846
Closed
Description
Sometimes you need to ship all images referenced in a helm chart to your private docker registry. You do a helm template|grep image: and pull/tag/push each one of them.
For example
`
helm-to-image-ref() {
HELM_CHART_REF=$1
helm template $HELM_CHART_REF|grep image|grep image:|xargs|sed --expression 's/image://g' - |xargs
}
helm-to-image-ref jetstack/cert-manager
Would return all image references from the above chart. This could be combine with a tool like skopeo copy.
Is this feature something that could be considered as a helper function in helm ?
Some flag in helm template or other ?
Metadata
Assignees
Labels
No labels