From 21c57550c1e5caafcfabb322c02ff24bc64e4ee5 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 8 May 2022 16:58:26 +0200 Subject: [PATCH] Add test --- clank/apps/test/app.yaml | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 clank/apps/test/app.yaml diff --git a/clank/apps/test/app.yaml b/clank/apps/test/app.yaml new file mode 100644 index 0000000..64f1451 --- /dev/null +++ b/clank/apps/test/app.yaml @@ -0,0 +1,47 @@ +apiVersion: v1 +kind: Service +metadata: + name: test-service +spec: + ports: + - port: 80 + protocol: TCP + targetPort: 80 + selector: + run: test +--- +apiVersion: v1 +kind: Pod +metadata: + labels: + run: test + name: test +spec: + containers: + - image: nginx + name: test + ports: + - containerPort: 80 +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: nginx-ingress + annotations: + traefik.ingress.kubernetes.io/router.tls: "true" + traefik.ingress.kubernetes.io/router.tls.certresolver: le +spec: + tls: + - hosts: + - test.kjuulh.app + rules: + - host: test.kjuulh.app + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: test-service + port: + number: 80