Created
June 25, 2022 14:21
-
-
Save PyDataBlog/14301cc0fab4d1546c81285c84bb9ddc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
annotations: | |
kubernetes.io/ingress.class: "nginx" | |
nginx.ingress.kubernetes.io/ssl-redirect: "true" | |
name: dashboard-ingress | |
namespace: kubernetes-dashboard | |
labels: | |
name: dashboard-ingress | |
spec: | |
tls: | |
- hosts: | |
- dashboard.myminikube.demo | |
secretName: mkcert-tls-secret | |
rules: | |
- host: dashboard.myminikube.demo | |
http: | |
paths: | |
- pathType: Prefix | |
path: "/" | |
backend: | |
service: | |
name: kubernetes-dashboard | |
port: | |
number: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment