From 3b8b153ac96b6b6cb86bb1788f6c8d0abc5615eb Mon Sep 17 00:00:00 2001 From: julien Date: Wed, 15 Apr 2026 01:23:18 +0200 Subject: [PATCH] "Updates" --- headlamp/headlamp-ingress.yaml | 5 +---- headlamp/headlamp-secret.yaml | 9 +++++++++ headlamp/headlamp-service.yaml | 17 +++++++++++++++++ 3 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 headlamp/headlamp-secret.yaml create mode 100644 headlamp/headlamp-service.yaml diff --git a/headlamp/headlamp-ingress.yaml b/headlamp/headlamp-ingress.yaml index dc74d76..bd02625 100644 --- a/headlamp/headlamp-ingress.yaml +++ b/headlamp/headlamp-ingress.yaml @@ -16,7 +16,4 @@ spec: name: bb-headlamp port: number: 8080 -status: - loadBalancer: - ingress: - - ip: 192.168.1.22 + diff --git a/headlamp/headlamp-secret.yaml b/headlamp/headlamp-secret.yaml new file mode 100644 index 0000000..30e23a5 --- /dev/null +++ b/headlamp/headlamp-secret.yaml @@ -0,0 +1,9 @@ +--- +kind: Secret +apiVersion: v1 +metadata: + name: headlamp-admin + namespace: kube-system + annotations: + kubernetes.io/service-account.name: "headlamp-admin" +type: kubernetes.io/service-account-token diff --git a/headlamp/headlamp-service.yaml b/headlamp/headlamp-service.yaml new file mode 100644 index 0000000..fdc7d0d --- /dev/null +++ b/headlamp/headlamp-service.yaml @@ -0,0 +1,17 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: headlamp-dashboard +spec: + ports: + - name: http + port: 8080 + targetPort: 8080 + selector: + app: headlamp-dashboard + type: LoadBalancer +status: + loadBalancer: + ingress: + - ip: 192.168.1.22