summaryrefslogtreecommitdiff
path: root/kubernetes/server.yml
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2021-02-07 19:00:09 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2021-02-07 19:00:22 +0100
commitd07662a79b590c582bb42790bdafc0d0cda18627 (patch)
treeb8a09d96e6c910b44c4f827cd8db75ded5b4ec4e /kubernetes/server.yml
parentUse shory-lived k8s digitalocean credentials (diff)
downloadseven-wonders-d07662a79b590c582bb42790bdafc0d0cda18627.tar.gz
seven-wonders-d07662a79b590c582bb42790bdafc0d0cda18627.tar.bz2
seven-wonders-d07662a79b590c582bb42790bdafc0d0cda18627.zip
Add namespace to k8s resources
Diffstat (limited to 'kubernetes/server.yml')
-rw-r--r--kubernetes/server.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/server.yml b/kubernetes/server.yml
index 91fea10a..f9b048c7 100644
--- a/kubernetes/server.yml
+++ b/kubernetes/server.yml
@@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: seven-wonders
+ namespace: seven-wonders
spec:
selector:
matchLabels:
@@ -23,6 +24,7 @@ apiVersion: v1
kind: Service
metadata:
name: seven-wonders
+ namespace: seven-wonders
labels:
app: seven-wonders
spec:
@@ -40,6 +42,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: seven-wonders-ingress
+ namespace: seven-wonders
spec:
rules:
- host: "seven-wonders.hildan.org"
bgstack15