namespaces/routing
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
# Default k3s port?
|
# Default k3s port?
|
||||||
proxyPass = "http://localhost:30080";
|
proxyPass = "http://127.0.0.1:30080";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: nimh-static-files
|
name: nimh-static-files
|
||||||
namespace: nimh
|
|
||||||
|
|
||||||
data:
|
data:
|
||||||
index.html: |
|
index.html: |
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: nimh-static
|
name: nimh-static
|
||||||
namespace: nimh
|
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
namespace: nimh
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- configmap.yaml
|
- configmap.yaml
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: nimh-static
|
name: nimh-static
|
||||||
namespace: nimh
|
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: nimh-static
|
app: nimh-static
|
||||||
|
|||||||
Reference in New Issue
Block a user