| commit | 652c2ad2e499ca709523978e04b3a3dbb6df642c | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Tue Nov 19 17:40:50 2024 +0100 |
| committer | Jan Schär <jan@monogon.tech> | Wed Nov 20 13:55:19 2024 +0000 |
| tree | 4a31c1797694ed53331d1a998922c3587d940d5b | |
| parent | 36f0375c9834d82016cb077142d2eaaea981d7a5 [diff] |
m/node/kubernetes: fix PV mount flags and add e2e test Mount flags did not work because of two problems: - The provisioner did not copy them from the StorageClass to the PersistentVolume. - The CSI server used = instead of |= when adding flags, so only one of the flags was added or removed. There was an existing e2e test for PVs, however this only created the PVC/PV without even attaching it to a container. I extended this test to attach the PV and check from inside the container that it has the expected mount flags and quota. The existing e2e test also created a block PV, however attaching a block PV to a container was not tested and is apparently broken, so I removed this test for now. Change-Id: Ie14adfafd333eab38d2b5f1b4ce8a2aa8795eae0 Reviewed-on: https://review.monogon.dev/c/monogon/+/3613 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
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.