1
0
Fork 0
mirror of https://github.com/Luzifer/korvike.git synced 2024-12-29 23:51:16 +00:00
Commit graph

18 commits

Author SHA1 Message Date
7218ddcae5
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-19 19:51:03 +02:00
f583014cd9
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-08 11:38:09 +01:00
fd2a37ca97
Remove default values for file and vault
and add `must*` variants for them

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-02-29 17:55:51 +01:00
e8a8b2f83f
Breaking: Add sprig functions, replace some internal ones
Breaking changes:

- Remove function `b64decode`, use `b64dec`
- Remove function `b64encode`, use `b64enc`
- Remove default from `env`, use `env "MYVAR" | default "..."`
- Remove function `hash`, use `sha1sum` / `sha256sum` / `sha512sum`
- Function `now` returns `time.Time`, use `now | date "[format]"`
- Function `split` now has reversed parameters `split <sep> <str>`

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-02-28 23:54:18 +01:00
bea23f0bf1
Add basic string manipulation join and split
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-30 21:10:35 +02:00
d57cf8eb59
Upgrade dependencies, update mod-files
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-30 21:00:49 +02:00
2b2aadc279
Add urlescape function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-10 17:54:28 +01:00
047d4406ad
Add support for b64decode
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-30 15:55:52 +02:00
4083ee0cc2
Add "hash" template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-11 23:50:59 +02:00
5a833fa112
Add support for executing sub-templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-22 16:22:23 +01:00
ac05b7abdc
Update blackfriday
fixes issues with HTML Entities

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-11-06 13:57:15 +01:00
f0c948084e
Make blackfriday markdown available
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-04-08 22:40:37 +02:00
110f5c3f04
Add AppRole support into Vault function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-07-28 20:09:25 +02:00
47eeb5a350
Add go modules support
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-07-28 20:01:03 +02:00
2fd0bf97a1
Add b64encode as a function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-31 12:50:34 +02:00
a14b2e78f4
Add vault template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-20 11:24:02 +02:00
63d5a27b80
Add 'now' function and function tests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-04-17 16:25:59 +02:00
19acf16d5d
Add export for template functions 2016-09-14 13:10:21 +02:00