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