kube/signs/application.yaml
rasmus 13da9a8877 Add redirects sign.k-space.ee, members.k-space.ee
There still are dead inventory links with members.k-space.ee
2024-08-03 04:27:31 +03:00

61 lines
1.2 KiB
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: signs
annotations:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
external-dns.alpha.kubernetes.io/hostname: sign.k-space.ee,signs.k-space.ee
spec:
rules:
- host: signs.k-space.ee
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: signs-webpage
port:
number: 80
tls:
- hosts:
- "*.k-space.ee"
---
apiVersion: v1
kind: Service
metadata:
name: signs-webpage
spec:
type: ClusterIP
selector:
app: signs-webpage
ports:
- protocol: TCP
port: 80
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: signs-webpage
labels:
app: signs-webpage
spec:
selector:
matchLabels:
app: signs-webpage
replicas: 1
template:
metadata:
labels:
app: signs-webpage
spec:
containers:
- name: signs-webpage
image: harbor.k-space.ee/k-space/signs
ports:
- containerPort: 80