Simple templates

Simple templates are non-versioned templates. This means you can change files in template git repository without any consequences, so they are easier to maintian, however you will miss the opportunity to reflect template changes into managed repositories. In other words, template is only used in project generation time, further template changes cannot affect generated projects in any way.

All changes in simple template must be pushed into master branch, no tags are required like in versioned templates.

Non-versioned example

In simple non-versioned template, you just create Dockerfile and store it in master branch.

Dockerfile
FROM registry.access.redhat.com/ubi8/ubi-minimal:${baseImageVersion}

# ... other Dockerfile commands

You can also introduce baseImageVersion variable as in the example above, so you will be able to specify base image version before project generation. But once the project is generated it’s up to project owner to maintain the base image version. If you decide to upgrade the version in the future in some (or all) generated projects, you have to do it manually one project by one. Using versioned templates can help you to perform such changes automatically.