From 0a9985edccaa5b79b0be216c763227545e705f07 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Sun, 19 Nov 2023 16:45:51 +0200 Subject: [PATCH] ripe87: add ripe87.k-space.ee website --- ripe87/application.yaml | 59 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 ripe87/application.yaml diff --git a/ripe87/application.yaml b/ripe87/application.yaml new file mode 100644 index 0000000..86c86fe --- /dev/null +++ b/ripe87/application.yaml @@ -0,0 +1,59 @@ +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: ripe87-webpage + 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: ripe87.k-space.ee + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: ripe87-webpage + port: + number: 80 + tls: + - hosts: + - "*.k-space.ee" +--- +apiVersion: v1 +kind: Service +metadata: + name: ripe87-webpage +spec: + type: ClusterIP + selector: + app: ripe87-webpage + ports: + - protocol: TCP + port: 80 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: ripe87-webpage + labels: + app: ripe87-webpage +spec: + selector: + matchLabels: + app: ripe87-webpage + replicas: 1 + template: + metadata: + labels: + app: ripe87-webpage + spec: + containers: + - name: ripe87-webpage + image: harbor.k-space.ee/k-space/ripe87 + ports: + - containerPort: 80