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/owntracks/frontend/ingress.yaml
Tobias Brunner f2822e8631
All checks were successful
continuous-integration/drone/push Build is passing
fix ingresses
2021-12-13 20:23:05 +01:00

27 lines
531 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
ingress.kubernetes.io/ssl-redirect: "true"
name: frontend
namespace: owntracks
labels:
app: frontend
spec:
rules:
- host: whereis.tobru.ch
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: frontend
port:
number: 80
tls:
- hosts:
- whereis.tobru.ch
secretName: whereis-tobru-ch-cert