Add ingress rules

This commit is contained in:
Jonny Ervine 2023-09-05 22:49:22 +08:00
parent 61aca25863
commit f516e2f3ed
2 changed files with 5 additions and 2 deletions

View File

@ -143,9 +143,12 @@ dashboard:
# dashboard.ingress.ingressClassName -- From Kubernetes 1.18+ this field is supported in case your ingress controller supports it. When set, you do not need to add the ingress class as annotation. # dashboard.ingress.ingressClassName -- From Kubernetes 1.18+ this field is supported in case your ingress controller supports it. When set, you do not need to add the ingress class as annotation.
ingressClassName: ingressClassName:
annotations: {} annotations:
# kubernetes.io/ingress.class: nginx # kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true" # kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$escaped_request_uri
nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
nginx.ingress.kubernetes.io/backend-protocol: HTTP
hosts: hosts:
- host: goldilocks.ervine.cloud - host: goldilocks.ervine.cloud
paths: paths:

View File

@ -145,7 +145,7 @@ serviceAccount:
ingress: ingress:
enabled: true enabled: true
# className: nginx # className: nginx
path: / path: /oauth2
# Only used if API capabilities (networking.k8s.io/v1) allow it # Only used if API capabilities (networking.k8s.io/v1) allow it
pathType: ImplementationSpecific pathType: ImplementationSpecific
# Used to create an Ingress record. # Used to create an Ingress record.