7
votes

Since Helm v3 built-in object .Release.Time is removed.

What is the preferred way of injecting a release time into a template now?

1
All I've found so far is this thread: github.com/helm/helm/issues/5732 - Aleksandr Erokhin

1 Answers

6
votes

It looks like one of the sprig date functions is the way to go now.

For example:

metadata:
    annotations:
        timestamp: {{ now | quote }}