Unable to install a custom pack in docker image for K8 setup ! #5794
-
In one of my projects (moving the stackstorm setup from standalone to K8), I am trying to follow the documentation to create a docker image for the custom app Here is my directory structure first -
My
Now when I try to build this image , I am able to see some steps but do not see my pack being taken into consideration nor do I see the other steps mentioned in Docker file (ls etc). Below is the output of my build step -
Can someone please help me to understand if I am doing something wrong here ? When I see this image and check its contents, it does not have my pack installed, which is visible from above build logs. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 23 replies
-
Could you try with the names matching e.g. in the Dockerfile use:
|
Beta Was this translation helpful? Give feedback.
-
Another strange thing is I added one additional line Kindly help/suggest. |
Beta Was this translation helpful? Give feedback.
-
Hello, So I have an update on this, With some help of colleagues we noticed that image build up somehow was not working on mac os and also there is a missing path to certificates which we follow internally. So the update is that with ubuntu os we are now able to build the image and I have pushed the image in docker.hub: https://hub.docker.com/repository/docker/nnahal/st2packs But still trying to install the image with changes in values.yaml as follows -
I run the command -
I re tried the command with increasing timeout and debug mode -
helm version -
Any suggestions ? @amanda11 , Thank you in advance. |
Beta Was this translation helpful? Give feedback.
-
Thanks @armab for your support, So I finally got it working today !
i.e.
This was a small problem but took a lot of time.
In my case error was this variable not being found in the values.yaml which the pack expects. |
Beta Was this translation helpful? Give feedback.
Thanks @armab for your support,
So I finally got it working today !
Problem
: I forgot that in my config.schema.yaml I had a parameter to berequired
which was not being passed into the config file in the values.yaml.Solution
: Please remember to put required params in theconfigs
which is part of the values.yaml.i.e.