1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-14 11:37:37 +00:00
turboprop/namespaces.nix

10 lines
236 B
Nix
Raw Normal View History

# 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";
}