1
0
forked from k-space/kube

Migrate signs.k-space.ee from GitLab to kube

copy from ripe87
This commit is contained in:
rasmus 2024-07-30 10:18:40 +03:00
parent b6bf3ab225
commit 8ad6b989e5

59
signs/application.yaml Normal file
View File

@ -0,0 +1,59 @@
---
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
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