Closed jmesnil closed 2 years ago
@jfdenise, could you please review?
As you suggested, if the application image is not built, the builder image will take the name of the release. Iow, if the Helm configuration looks like:
build:
uri: https://github.com/wildfly/wildfly-s2i
contextDir: examples/web-clustering
s2i:
buildApplicationImage: false
deploy:
enabled: false
And the Helm release is created with helm install web-clustering-builder -f ....
, the name of the builder image will be web-clustering-builder
.
@jmesnil , perfect. This naming will fit the builder use-case.
If
build.s2i.buildApplication
is set tofalse
, the resources to create the applicaition image are not generated. In that case, the builder-artifacts image will take over the name of the Helm release (as it is the only produced image).Deployment of the builder image can still happen and needs to be explicitely disabled with
deploy.enabled
set tofalse
if needs be.This fixes #93
Signed-off-by: Jeff Mesnil jmesnil@redhat.com