This commit is contained in:
parent
d0c4dbff1e
commit
400d322454
|
@ -24,7 +24,7 @@ spec:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: x76dev-service
|
name: x76dev
|
||||||
namespace: websites
|
namespace: websites
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
|
@ -36,7 +36,7 @@ spec:
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: x76dev-ingress
|
name: x76dev
|
||||||
namespace: websites
|
namespace: websites
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
|
@ -47,6 +47,6 @@ spec:
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: x76dev-service
|
name: x76dev
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
|
|
@ -6,3 +6,4 @@ resources:
|
||||||
- 0x76.yaml
|
- 0x76.yaml
|
||||||
- internal.yaml
|
- internal.yaml
|
||||||
- blog.yaml
|
- blog.yaml
|
||||||
|
- xirion.yaml
|
||||||
|
|
52
flux/olympus/apps/websites/xirion.yaml
Normal file
52
flux/olympus/apps/websites/xirion.yaml
Normal 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
|
Loading…
Reference in a new issue