deploy xirion.net
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Vivian 2023-02-04 16:15:25 +01:00
parent d0c4dbff1e
commit 400d322454
3 changed files with 56 additions and 3 deletions

View file

@ -24,7 +24,7 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: x76dev-service
name: x76dev
namespace: websites
spec:
selector:
@ -36,7 +36,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: x76dev-ingress
name: x76dev
namespace: websites
spec:
rules:
@ -47,6 +47,6 @@ spec:
pathType: Prefix
backend:
service:
name: x76dev-service
name: x76dev
port:
number: 80

View file

@ -6,3 +6,4 @@ resources:
- 0x76.yaml
- internal.yaml
- blog.yaml
- xirion.yaml

View file

@ -0,0 +1,52 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: xirion
namespace: websites
labels:
app: xirion
spec:
replicas: 1
selector:
matchLabels:
app: xirion
template:
metadata:
labels:
app: xirion
spec:
containers:
- name: xirion
image: git.0x76.dev/v/xirion.net:2
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: xirion
namespace: websites
spec:
selector:
app: xirion
ports:
- protocol: TCP
port: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: xirion
namespace: websites
spec:
rules:
- host: "xirion.net"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: xirion
port:
number: 80