diff --git a/deploy/elk-stack/kibana-ingress.yaml b/deploy/elk-stack/kibana-ingress.yaml new file mode 100644 index 0000000..7d12b42 --- /dev/null +++ b/deploy/elk-stack/kibana-ingress.yaml @@ -0,0 +1,25 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: kibana-ingress + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-prod" + nginx.ingress.kubernetes.io/force-ssl-redirect: "true" +spec: + ingressClassName: nginx + tls: + - hosts: + - query.prod.panic.haus + secretName: kibana-tls + + rules: + - host: query.prod.panic.haus + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: kibana-ha-kb-http + port: + number: 5601 diff --git a/deploy/elk-stack/kustomization.yaml b/deploy/elk-stack/kustomization.yaml index 0e90b9b..51f7688 100644 --- a/deploy/elk-stack/kustomization.yaml +++ b/deploy/elk-stack/kustomization.yaml @@ -7,4 +7,5 @@ resources: - operator.yaml - elasticsearch.yaml - kibana.yaml + - kibana-ingress.yaml # - longstash.yaml