From 8ad6b989e5bcebc6b3aa7aa4d2e3852279a51460 Mon Sep 17 00:00:00 2001 From: rasmus Date: Tue, 30 Jul 2024 10:18:40 +0300 Subject: [PATCH] Migrate signs.k-space.ee from GitLab to kube copy from ripe87 --- signs/application.yaml | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 signs/application.yaml diff --git a/signs/application.yaml b/signs/application.yaml new file mode 100644 index 0000000..17358ce --- /dev/null +++ b/signs/application.yaml @@ -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