bitnami/sealed-secrets

Configurable template delimeters

開放

#584 建立於 2021年5月11日

 (9 則留言) (4 個反應) (0 位負責人)Go (771 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (9,222 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

First of all, thank you so much for this project and for adding https://github.com/bitnami-labs/sealed-secrets/pull/580 in the latest release! This allowed me to remove my dependency on ConfigMapSecret and use only SealedSecrets instead!

I do have one issue with configuration files that contain golang-based templates (mainly alertmanager configuration like this one). Would it be possible to either use non-default delimiters for injecting secret into larger config? Or maybe it would be possible to allow configuring delimiters and allowing something different than the default {{ and }}?

Just to note, there is an option for this in the standard library: https://golang.org/pkg/text/template/#Template.Delims

貢獻者指南