From af51954530c2088b23cf2de47b71f475192c2d53 Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Sun, 4 Aug 2024 23:18:24 +0100 Subject: [PATCH] default values doesn't work, ad ddiffernte selector --- clusters/kairos/longhorn/helmrelease.yaml | 5 +---- clusters/kairos/traefik/service.yaml | 7 ++++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/clusters/kairos/longhorn/helmrelease.yaml b/clusters/kairos/longhorn/helmrelease.yaml index a4daa45..eba8790 100644 --- a/clusters/kairos/longhorn/helmrelease.yaml +++ b/clusters/kairos/longhorn/helmrelease.yaml @@ -13,7 +13,4 @@ spec: name: longhorn-repo version: 1.6.0 interval: 1m0s - targetNamespace: longhorn-system - values: - defaultSettings: - defaultReplicaCount: 2 + targetNamespace: longhorn-system \ No newline at end of file diff --git a/clusters/kairos/traefik/service.yaml b/clusters/kairos/traefik/service.yaml index 03ffa16..40b49e1 100644 --- a/clusters/kairos/traefik/service.yaml +++ b/clusters/kairos/traefik/service.yaml @@ -4,9 +4,10 @@ metadata: name: traefik-dashboard spec: type: ClusterIP - selector: - app: traefik ports: - name: http port: 9000 - targetPort: 9000 \ No newline at end of file + targetPort: 9000 +│ selector: + app.kubernetes.io/instance: traefik-kube-system + app.kubernetes.io/name: traefik