feat(clickhouse): create ingress

This commit is contained in:
Masaki Yatsu
2025-09-12 23:29:28 +09:00
parent 6abde4ed59
commit 416b18232f
4 changed files with 193 additions and 49 deletions

View File

@@ -0,0 +1,23 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: clickhouse-ingress
namespace: clickhouse
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: traefik
rules:
- host: {{ .Env.CLICKHOUSE_HOST }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: clickhouse-clickhouse
port:
number: 8123
tls:
- hosts:
- {{ .Env.CLICKHOUSE_HOST }}