From 8fc1bee7bc235ba1bb8e9bdbfe9988d8d978ecfb Mon Sep 17 00:00:00 2001 From: homejacob Date: Tue, 30 Sep 2025 11:52:19 +0200 Subject: [PATCH] add ingress --- helm/dashboard/ingress.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 helm/dashboard/ingress.yaml diff --git a/helm/dashboard/ingress.yaml b/helm/dashboard/ingress.yaml new file mode 100644 index 0000000..5b8aca1 --- /dev/null +++ b/helm/dashboard/ingress.yaml @@ -0,0 +1,26 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: kubernetes-dashboard-ingress + namespace: i-dashboard + annotations: + # Use this annotation if you are using the NGINX Ingress Controller + nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" + # Add annotations for cert-manager if you use it for TLS + # cert-manager.io/cluster-issuer: "letsencrypt-prod" +spec: + # tls: + # - hosts: + # - dashboard.your-domain.com + # secretName: dashboard-tls-cert + rules: + - host: "dashboard.darkstars.local" + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: i-dashboard-kong-proxy + port: + number: 443