This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/linkding/ingress.yaml

28 lines
617 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/force-hsts: "true"
ingress.kubernetes.io/hsts-max-age: "315360000"
ingress.kubernetes.io/hsts-preload: "true"
name: linkding
spec:
rules:
- host: links.tobru.ch
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: linkding
port:
number: 9090
tls:
- hosts:
- links.tobru.ch
secretName: ingress-cert