mirror of
https://git.sr.ht/~goorzhel/turboprop
synced 2024-12-14 11:37:37 +00:00
33433a953e
I initially thought this would be just another release in `releases/common/namespaces`, but there's a lot more potential than that.
9 lines
236 B
Nix
9 lines
236 B
Nix
# Assign extra metadata here. For example,
|
|
# `svc = {labels."istio.io/rev" = "1-18-1"}`
|
|
# is the equivalent of
|
|
# `k label ns/svc istio.io/rev=1-18-1`
|
|
let
|
|
istioNs = rev: {labels."istio.io/rev" = rev;};
|
|
in {
|
|
svc = istioNs "1-18-1";
|
|
}
|