From 05445ee957db47095922eef52f342b0add5bc2bb Mon Sep 17 00:00:00 2001 From: smallbenji Date: Thu, 22 May 2025 14:42:14 +0200 Subject: [PATCH] remove certs --- dashboard/deployment.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dashboard/deployment.yaml b/dashboard/deployment.yaml index 44d586d..c5ccc00 100644 --- a/dashboard/deployment.yaml +++ b/dashboard/deployment.yaml @@ -52,8 +52,6 @@ spec: ports: - containerPort: 8443 protocol: TCP - args: - - --auto-generate-certificates volumeMounts: - mountPath: /certs name: kubernetes-dashboard-certs @@ -79,9 +77,9 @@ metadata: name: kubernetes-dashboard namespace: kubernetes-dashboard spec: - type: ClusterIP + type: LoadBalancer ports: - - port: 443 + - port: 8443 targetPort: 8443 selector: k8s-app: kubernetes-dashboard @@ -130,7 +128,7 @@ spec: service: name: kubernetes-dashboard port: - number: 80 + number: 443 tls: - hosts: - dashboard.ingenkansemig.dk