aboutsummaryrefslogtreecommitdiff
path: root/nix-personal/k8s/ingress.yaml
diff options
context:
space:
mode:
authorAria <me@aria.rip>2023-12-06 19:35:40 +0000
committerAria <me@aria.rip>2023-12-06 19:35:40 +0000
commit688b6527809869465c75d9cb3413d8bcce7aff68 (patch)
tree5e361446eda3a153e6315f806748903d6d2a9bc9 /nix-personal/k8s/ingress.yaml
parentae760a1f14dffca65d98f4daa9ce09e138fd2532 (diff)
get web traffic into vps
Diffstat (limited to 'nix-personal/k8s/ingress.yaml')
-rw-r--r--nix-personal/k8s/ingress.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/nix-personal/k8s/ingress.yaml b/nix-personal/k8s/ingress.yaml
new file mode 100644
index 0000000..3849905
--- /dev/null
+++ b/nix-personal/k8s/ingress.yaml
@@ -0,0 +1,33 @@
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+ annotations:
+ traefik.ingress.kubernetes.io/router.tls: "true"
+ traefik.ingress.kubernetes.io/router.tls.certresolver: letsencrypt
+ traefik.ingress.kubernetes.io/router.tls.domains.0.main: 'girlth.ing'
+ traefik.ingress.kubernetes.io/router.tls.domains.0.sans: '*.girlth.ing'
+ name: girlthing-all
+ namespace: tcmal
+spec:
+ ingressClassName: traefik
+ rules:
+ - host: '*.girlth.ing'
+ http:
+ paths:
+ - backend:
+ service:
+ name: puppy
+ port:
+ name: http
+ path: /
+ pathType: ImplementationSpecific
+ - host: 'girlth.ing'
+ http:
+ paths:
+ - backend:
+ service:
+ name: puppy
+ port:
+ name: http
+ path: /
+ pathType: ImplementationSpecific