Changelog for 0.8.37:
- PR #747 Add command to verify chart images by @alexellis
Commits
9ebc878 Document chart verify command by @alexellis
de25ba8 Add command to verify chart images by @alexellis
Changes: 0.8.36...0.8.37
Generated by Derek
Docs:
Validate Helm chart images from within a values.yaml file
The arkade chart validate
command validates that all images specified are accessible on a remote registry and takes a values.yaml file as its input.
Successful checking of a chart with image: ghcr.io/openfaas/cron-connector:TAG
:
arkade chart verify -f ~/go/src/github.com/openfaas/faas-netes/chart/cron-connector/values.yaml
echo $?
0
There is an exit code of zero and no output when the check passed.
You can pass --verbose
to see a detailed view of what's happening.
Checking of nested components, where two of the images do not exist autoscaler.image
and dashboard.image
:
arkade chart verify -f ~/go/src/github.com/openfaas/faas-netes/chart/openfaas/values.yamlecho $?
2 images are missing in /Users/alex/go/src/github.com/openfaas/faas-netes/chart/openfaas/values.yaml
COMPONENT IMAGE
dashboard ghcr.io/openfaasltd/openfaas-dashboard:0.9.8
autoscaler ghcr.io/openfaasltd/autoscaler:0.2.5
Error: verifying failed
echo $?
1
Supported:
image:
- at the top levelcomponent.image:
i.e. one level of nesting
Not supported yet:
- Custom strings that don't match the word "image":
clientImage:
- Split fields for the image and tag name i.e.
image.name
andimage.tag
- Third-level nesting
openfaas.gateway.image