This commit is contained in:
Nathan Rashleigh 2025-04-14 21:48:50 +10:00
parent 560a2fc6a1
commit 6e3c77d902
2 changed files with 13 additions and 14 deletions

View File

@ -4,27 +4,17 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ntr-cv
namespace: ntr-cv
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
ingressClassName: haproxy
tls:
- hosts:
- strix.systems
- ntr.ntwl.xyz
- ntwl.xyz
secretName: strix-systems-tls
rules:
- host: strix.systems
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: ntr-cv
port:
number: 8080
- host: ntr.ntwl.xyz
- host: ntwl.xyz
http:
paths:
- path: /

View File

@ -1,5 +1,12 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: ntr-cv
---
# -----------------------------------------------------------------------
# DEPLOYMENTS
# -----------------------------------------------------------------------
@ -8,6 +15,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: ntr-cv
namespace: ntr-cv
spec:
replicas: 1
selector:
@ -20,7 +28,7 @@ spec:
spec:
containers:
- name: ntr-cv
image: registry.strix.systems/ntr-cv
image: registry.ntwl.xyz/ntr-cv
imagePullPolicy: Always
ports:
- containerPort: 8080
@ -37,6 +45,7 @@ apiVersion: v1
kind: Service
metadata:
name: ntr-cv
namespace: ntr-cv
spec:
selector:
app: ntr-cv