k8s/101-wallabag/traefik.yaml

36 lines
627 B
YAML
Raw Normal View History

2022-07-02 18:51:06 +00:00
---
# cert
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: wallabag.minhas.io
namespace: wallabag
spec:
dnsNames:
- wallabag.minhas.io
secretName: wallabag.minhas.io
issuerRef:
kind: ClusterIssuer
name: letsencrypt-prod
...
---
# dashboard.yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: wallabag
namespace: wallabag
spec:
entryPoints:
- websecure
routes:
- match: Host(`wallabag.minhas.io`)
kind: Rule
services:
- name: wallabag
kind: Service
port: 80
tls:
secretName: wallabag.minhas.io
...