Open yersan opened 2 years ago
Thanks for reporting this issue.
It seems to me that this is not a bug in our Helm Chart but just the way OpenShift works at the moment and this will eventually be changed in a future release.
I agree with you that this is not intuitive and we should definitely add a note about in the https://github.com/wildfly/wildfly-charts/blob/main/charts/wildfly/templates/NOTES.txt that is displayed to the user after helm install
and helm upgrade
commands
Describe the bug Releasing a new Helm Chart version that contains a change in the build section does not automatically trigger a new build.
To Reproduce Steps to reproduce the behavior:
Deploy an application using Helm Chart and then modify the list of Galleon layers.
Expected behavior If I'm not doing something wrong, I would expect a new build execution, to build my application with the new desired list of galleon layers.
Component Versions(please complete the following information):
Helm version (
$ helm version
)OpenShift or Kubernetes version (
$ oc version
or$ kubectl version
)Additional context The OpenShift documentation contains the following note about this:
"Configuration change triggers currently only work when creating a new BuildConfig. In a future release, configuration change triggers will also be able to launch a build whenever a BuildConfig is updated."
So, although not intuitively, this behavior could be the expected one, in that case, we could use this issue as a kind of documentation. The workaround is to kick off the build manually:
oc start-build bc/<helm-release>-build-artifacts