| commit | 690c42d8e98c4b9ad5caec1f8dc0da91f9347f12 | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Thu Nov 21 12:10:53 2024 +0100 |
| committer | Jan Schär <jan@monogon.tech> | Thu Nov 28 09:58:03 2024 +0000 |
| tree | 58a3e2cbd510aaa5286a82f983e26ba2d83c8553 | |
| parent | 7873f46b185f846260d0119fad34e8882a48bf8d [diff] |
metropolis/node: validate label prefixes with our own function I think it makes sense to use our own domain validation function here instead of using the function from Kubernetes. The Kubernetes one is less strict than ours, and actually allows names which are not valid DNS names, because it does not limit the length of labels to 63. All labels which are valid according to ValidateLabelKey should also be valid according to Kubernetes IsQualifiedName, and I added a test for this. We need this property for synchronizing labels to Kubernetes. Change-Id: I0f96551b7d41f38b28174b7349cd8f37e6fd8f81 Reviewed-on: https://review.monogon.dev/c/monogon/+/3624 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.