From 76813e789be4823845633fd3f2236862909e229d Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Thu, 15 Feb 2024 21:03:25 +0000 Subject: [PATCH 1/2] Why is this different? Signed-off-by: Martyn Ranyard --- everything-app/longhorn.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/everything-app/longhorn.yaml b/everything-app/longhorn.yaml index 1d8d067..8bf6a9b 100644 --- a/everything-app/longhorn.yaml +++ b/everything-app/longhorn.yaml @@ -4,12 +4,25 @@ metadata: name: longhorn namespace: argocd spec: + ignoreDifferences: + - kind: Service + jqPathExpressions: + - .spec.ports[].nodePort destination: namespace: longhorn-system server: https://kubernetes.default.svc project: infra source: - helm: {} + helm: + parameters: + - name: preUpgradeChecker.jobEnabled + value: "false" + - name: service.ui.type + value: LoadBalancer + - name: service.nodePort + value: "" + - name: persistence.defaultClass + value: "false" chart: longhorn repoURL: https://charts.longhorn.io targetRevision: 1.6.0 From 78cfcf8ea9605881ea88fa488536e6096217ea8f Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Thu, 15 Feb 2024 21:03:58 +0000 Subject: [PATCH 2/2] Persistence is handy to store the vpn details... Signed-off-by: Martyn Ranyard --- everything-app/wg-access-server.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/everything-app/wg-access-server.yaml b/everything-app/wg-access-server.yaml index c0ff238..318883b 100644 --- a/everything-app/wg-access-server.yaml +++ b/everything-app/wg-access-server.yaml @@ -20,6 +20,9 @@ spec: csiSecretsStore: providerName: 1password resourceName: vaults/3oh5jxmxvqvpuimu2lbuajtizi/allitems/idkjj6oyua2fq6df4fkjzmh4ne/config.yaml + persistence: + enabled: true + storageClass: longhorn-fast path: apps-helm/wg-access-server repoURL: https://git.martyn.berlin/martyn/infra4talos targetRevision: HEAD