Skip to content

Feature: render templates only once #16272

Closed
@EtienneBruines

Description

@EtienneBruines

Proposal

Add a once option to the template block, to indicate the template should only be rendered once and no updates should be performed.

Use-cases

New SSL certificates for haproxy can be added using the Runtime API. This means the original files (that Nomad rendered when starting the allocation) are useful, but updates to those files are not used.

Those updates can be ignored by using change_mode=noop, but that just wastes resources.

Attempted Solutions

Not using the template block at all.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions