Skip to content

Commit

Permalink
k8s/dashboard: setup mtls
Browse files Browse the repository at this point in the history
  • Loading branch information
ttrssreal committed Dec 22, 2024
1 parent f0db5eb commit b4c2aab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions k8s/k8s-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ spec:
scope: cluster
hosts:
- dashboard.k8s.jessie.cafe
annotations:
nginx.ingress.kubernetes.io/auth-tls-pass-certificate-to-upstream: "true"
# FIXME: part of declarative secret management
nginx.ingress.kubernetes.io/auth-tls-secret: default/ca-secret
nginx.ingress.kubernetes.io/auth-tls-verify-client: "on"
nginx.ingress.kubernetes.io/auth-tls-verify-depth: "1"
destination:
server: "https://kubernetes.default.svc"
namespace: kubernetes-dashboard
Expand Down

0 comments on commit b4c2aab

Please sign in to comment.