Is it possible to override the default deployment naming in jkube? I want to do something similar to the docker image naming where I can provide a pattern.
The deployment section in the resources documentation looked promising but those options are not present in the plugin.
The default naming appears to be the maven ${project.artifactId} but I have not found that documented anywhere. Digging through the code I can see the ResourceConfig is out of sync with the documentation and the examples.
I'm from Eclipse JKube/FMP's development team. I think you should be able to override default controller name by either using
jkube.enricher.jkube-controller.name
property or by providing XML configuration forjkube-controller
(Enricher which is responsible for defaultDeployment
by plugin) like this:When I tried this, I was able to see
Deployment
's name being changed as per our configuration: