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