https://github.com/jenkinsci/kubernetes-plugin/blame/master/README.md#L214-L226
I'm not understanding the inheritance behavior. In the container templates section, it mentions that it inherits the parent template with the same name. But going down the readme, it mentions that overriding a previously created (I'm assuming that it is the parent?) container template image with the same name is possible.
Am I missing something?
Sounds like 2 different things.
One is the inheritance from a parent of the same name. If no values for image, etc are specified then it will inherit from the parent.
The other is overriding an image name from a parent where it's inheriting from. So if the parent has image: mycontainer1
and the inheriting template has image: mycontainer2
, then mycontainer2
will be used. If you are using exactly the same image with the same tag then the point of overring is moot.