mirror of
https://git.sr.ht/~goorzhel/turboprop
synced 2024-12-15 17:50:52 +00:00
10 lines
236 B
Nix
10 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";
|
||
|
}
|