setup iscsi zvol
This commit is contained in:
parent
94fad0432d
commit
1787680c4a
3 changed files with 122 additions and 13 deletions
34
modules/k3s/deployments/authentik.nix
Normal file
34
modules/k3s/deployments/authentik.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ ... }:
|
||||
{
|
||||
authentik.content = [
|
||||
{
|
||||
apiVersion = "v1";
|
||||
kind = "Pod";
|
||||
metadata.name = "ubuntu-test";
|
||||
spec = {
|
||||
containers = [
|
||||
{
|
||||
name = "ubuntu-test";
|
||||
image = "ubuntu:latest";
|
||||
command = [ "tail" "-f" "/dev/null" ];
|
||||
volumeMounts = [
|
||||
{
|
||||
mountPath = "/test";
|
||||
name = "test";
|
||||
subPath = "ubuntu-test";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
volumes = [
|
||||
{
|
||||
name = "test";
|
||||
persistentVolumeClaim = {
|
||||
claimName = "nfs-main-pvc";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue