Filters
You can extend Jinja with custom filters. The filters should be in the narrenschiff.filters
module.
- narrenschiff.filters.b64enc(value)[source]
Encode a string using base64.
- Parameters
value (
str
) – Text to be encoded- Returns
Encoded text
- Return type
str
Use this filter for k8s secrets. Values for secrets need to be encoded before the
Secret
resource is deployed to k8s.