Files
kubernetes/lp/clair/ingresroutes.yaml
2026-05-31 16:07:30 +02:00

43 lines
749 B
YAML
Executable File

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: clair-http
namespace: quay
spec:
entryPoints:
- web
routes:
- match: Host(`clair-lp.allarddcs.nl`)
kind: Rule
services:
- name: clair
port: 6060
- match: Host(`clairh-lp.allarddcs.nl`)
kind: Rule
services:
- name: health
port: 8089
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: clair-tls
namespace: quay
spec:
entryPoints:
- websecure
routes:
- match: Host(`clair-lp.allarddcs.nl`)
kind: Rule
services:
- name: clair
port: 6060
- match: Host(`clairh-lp.allarddcs.nl`)
kind: Rule
services:
- name: health
port: 8089
tls:
certResolver: letsencrypt