1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-14 11:37:37 +00:00
turboprop/namespaces.nix
Antonio Gurgel 33433a953e Build namespaces
I initially thought this would be just another release in
`releases/common/namespaces`, but there's a lot more potential
than that.
2023-11-19 13:21:41 -08:00

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