playbooks/roles/charts/clickhouse/templates/otel-collector/ingress.yaml

20 lines
404 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: otel-collector-ingress
namespace: default
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: your-domain.example.com
http:
paths:
- path: /api
pathType: Prefix
backend:
service:
name: otel-collector
port:
number: 3100