diff --git a/modules/k3s/deployments/authentik.nix b/modules/k3s/deployments/authentik.nix index 7e080a3..97e554d 100644 --- a/modules/k3s/deployments/authentik.nix +++ b/modules/k3s/deployments/authentik.nix @@ -233,13 +233,13 @@ in ports = [ { name = "authentik-http"; - portocol = "TCP"; + protocol = "TCP"; port = 9000; nodePort = 30000; } { name = "authentik-https"; - portocol = "TCP"; + protocol = "TCP"; port = 9443; nodePort = 30001; } diff --git a/modules/k3s/deployments/storage-combo.nix b/modules/k3s/deployments/storage-combo.nix index a9b0e7f..d6f89a0 100644 --- a/modules/k3s/deployments/storage-combo.nix +++ b/modules/k3s/deployments/storage-combo.nix @@ -18,7 +18,6 @@ securityContext = { runAsUser = 1000; runAsGroup = 1000; - capabilities.add = ["SYS_ADMIN"]; }; containers = [ { @@ -37,12 +36,13 @@ mountPath = "/dev/fuse"; } ]; + securityContext.capabilities.add = ["SYS_ADMIN"]; } ]; volumes = [ { name = "fuse-device"; - hostpath = { + hostPath = { path = "/dev/fuse"; type = "CharDevice"; }; @@ -61,9 +61,9 @@ ports = [ { name = "ssh-port"; - portocol = "TCP"; + protocol = "TCP"; port = 22; - targetport = 2222; + targetPort = 2222; } ]; }; diff --git a/modules/k3s/deployments/ubuntu-test.nix b/modules/k3s/deployments/ubuntu-test.nix index ba56feb..c3e3c2b 100644 --- a/modules/k3s/deployments/ubuntu-test.nix +++ b/modules/k3s/deployments/ubuntu-test.nix @@ -57,7 +57,7 @@ ports = [ { name = "test-port"; - portocol = "TCP"; + protocol = "TCP"; port = 80; nodePort = 32767; } diff --git a/modules/k3s/deployments/vaultwarden.nix b/modules/k3s/deployments/vaultwarden.nix index 63ef0c8..3dd0ebd 100644 --- a/modules/k3s/deployments/vaultwarden.nix +++ b/modules/k3s/deployments/vaultwarden.nix @@ -64,7 +64,7 @@ ports = [ { name = "vw-http"; - portocol = "TCP"; + protocol = "TCP"; port = 80; nodePort = 30002; }