Closed victorbjorklund closed 3 years ago
Hi Victor! Glad that you like the chart.
You got it almost right. You can pass a custom image, but not throughartifacthub.io/images
- this is just metadata for ArtifactHub so it can generate the image security rating etc.
To use a custom image, you don't need to change the chart at all - you simply pass a different image and tag through external values. See the default values file: https://github.com/utkuozdemir/helm-charts/blob/master/huginn/values.yaml#L5-L9
Basically, you need to do either:
helm install huginn utkuozdemir/huginn --set image.repository=docker.io/victorbjorklund/custom-huginn --set image.tag=latest`
or pass it via a custom values.yaml file
helm install huginn utkuozdemir/huginn --values custom-values.yaml
with custom-values.yaml
content:
image:
repository: docker.io/victorbjorklund/custom-huginn
tag: latest
Btw, you don't even to reinstall the chart - you can use helm upgrade ...
Also, make sure to base your image on docker.io/huginn/huginn-single-process
image so it will be compatible with the chart.
Makes sense! Thanks!
Hi! Awesome to see you put this together! Quick question (might be a bit stupid since I'm not very good with k8s, ruby or huginn) but if you want to add more agents than the default by for example creating your own (https://github.com/huginn/huginn_agent). Then I assume you could just create your own image including those gem:s and then reinstall the chart. Correct? Or is there a better way?
So change this:
To this: