specify namespace one level up
This commit is contained in:
parent
686c25a3fb
commit
531b9519bc
|
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: x76dev
|
||||
namespace: websites
|
||||
labels:
|
||||
app: x76dev
|
||||
spec:
|
||||
|
@ -25,7 +24,6 @@ apiVersion: v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: x76dev-service
|
||||
namespace: websites
|
||||
spec:
|
||||
selector:
|
||||
app: x76dev
|
||||
|
@ -37,7 +35,6 @@ apiVersion: networking.k8s.io/v1
|
|||
kind: Ingress
|
||||
metadata:
|
||||
name: x76dev-ingress
|
||||
namespace: websites
|
||||
spec:
|
||||
rules:
|
||||
- host: "0x76.dev"
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
namespace: websites
|
||||
resources:
|
||||
- 0x76.yaml
|
||||
|
|
|
@ -72,7 +72,9 @@
|
|||
# Enable SSH
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = lib.mkDefault "no";
|
||||
settings = {
|
||||
PasswordAuthentication = lib.mkDefault false;
|
||||
PermitRootLogin = lib.mkDefault "no";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,8 +10,10 @@
|
|||
# Enable SSH
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "yes";
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
PermitRootLogin = "yes";
|
||||
};
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -11,8 +11,10 @@
|
|||
# Enable SSH
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "yes";
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
PermitRootLogin = "yes";
|
||||
};
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue