Alternative for .Release.Time in Helm v3

依然范特西╮ 提交于 2021-02-08 15:16:33

问题


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

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


回答1:


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

For example:

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


来源:https://stackoverflow.com/questions/61140638/alternative-for-release-time-in-helm-v3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!