From 7d786c9d2cf5d9d84b654efc982bb2697616375b Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 16 May 2025 20:29:48 -0500 Subject: [PATCH] remove probe --- clusters/cl01tl/applications/slskd/Chart.yaml | 2 +- .../slskd/templates/external-secret.yaml | 15 +++------------ .../applications/slskd/templates/http-route.yaml | 5 +---- .../slskd/templates/persistent-volume-claim.yaml | 5 +---- .../slskd/templates/persistent-volume.yaml | 5 +---- .../slskd/templates/service-monitor.yaml | 5 +---- clusters/cl01tl/applications/slskd/values.yaml | 8 +++----- 7 files changed, 11 insertions(+), 34 deletions(-) diff --git a/clusters/cl01tl/applications/slskd/Chart.yaml b/clusters/cl01tl/applications/slskd/Chart.yaml index ee8f4ddbf..5c3f1cdf0 100644 --- a/clusters/cl01tl/applications/slskd/Chart.yaml +++ b/clusters/cl01tl/applications/slskd/Chart.yaml @@ -20,6 +20,6 @@ dependencies: - name: app-template alias: slskd repository: https://bjw-s-labs.github.io/helm-charts/ - version: 3.7.3 + version: 4.0.1 icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/slskd.png appVersion: 0.22.5 diff --git a/clusters/cl01tl/applications/slskd/templates/external-secret.yaml b/clusters/cl01tl/applications/slskd/templates/external-secret.yaml index 709b6371e..5a4d7cbdb 100644 --- a/clusters/cl01tl/applications/slskd/templates/external-secret.yaml +++ b/clusters/cl01tl/applications/slskd/templates/external-secret.yaml @@ -4,11 +4,8 @@ metadata: name: slskd-config-secret namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: slskd-config-secret + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore @@ -29,11 +26,8 @@ metadata: name: soularr-config-secret namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: soularr-config-secret + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore @@ -54,11 +48,8 @@ metadata: name: slskd-wireguard-conf namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: slskd-wireguard-conf + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore diff --git a/clusters/cl01tl/applications/slskd/templates/http-route.yaml b/clusters/cl01tl/applications/slskd/templates/http-route.yaml index 3d7b14ae2..c8e774574 100644 --- a/clusters/cl01tl/applications/slskd/templates/http-route.yaml +++ b/clusters/cl01tl/applications/slskd/templates/http-route.yaml @@ -4,11 +4,8 @@ metadata: name: http-route-slskd namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: http-route-slskd + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} spec: parentRefs: - group: gateway.networking.k8s.io diff --git a/clusters/cl01tl/applications/slskd/templates/persistent-volume-claim.yaml b/clusters/cl01tl/applications/slskd/templates/persistent-volume-claim.yaml index b8f35601b..dfa7e3a8f 100644 --- a/clusters/cl01tl/applications/slskd/templates/persistent-volume-claim.yaml +++ b/clusters/cl01tl/applications/slskd/templates/persistent-volume-claim.yaml @@ -4,11 +4,8 @@ metadata: name: slskd-nfs-storage namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: slskd-nfs-storage + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: storage - app.kubernetes.io/part-of: {{ .Release.Name }} spec: volumeName: slskd-nfs-storage storageClassName: nfs-client diff --git a/clusters/cl01tl/applications/slskd/templates/persistent-volume.yaml b/clusters/cl01tl/applications/slskd/templates/persistent-volume.yaml index 98f4ce748..244ff0932 100644 --- a/clusters/cl01tl/applications/slskd/templates/persistent-volume.yaml +++ b/clusters/cl01tl/applications/slskd/templates/persistent-volume.yaml @@ -4,11 +4,8 @@ metadata: name: slskd-nfs-storage namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: slskd-nfs-storage + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: storage - app.kubernetes.io/part-of: {{ .Release.Name }} spec: persistentVolumeReclaimPolicy: Retain storageClassName: nfs-client diff --git a/clusters/cl01tl/applications/slskd/templates/service-monitor.yaml b/clusters/cl01tl/applications/slskd/templates/service-monitor.yaml index bed1fd152..a2684a04d 100644 --- a/clusters/cl01tl/applications/slskd/templates/service-monitor.yaml +++ b/clusters/cl01tl/applications/slskd/templates/service-monitor.yaml @@ -4,11 +4,8 @@ metadata: name: slskd namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: slskd + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: metrics - app.kubernetes.io/part-of: {{ .Release.Name }} spec: selector: matchLabels: diff --git a/clusters/cl01tl/applications/slskd/values.yaml b/clusters/cl01tl/applications/slskd/values.yaml index 688e824ca..16a81d079 100644 --- a/clusters/cl01tl/applications/slskd/values.yaml +++ b/clusters/cl01tl/applications/slskd/values.yaml @@ -15,7 +15,7 @@ slskd: privileged: True resources: requests: - cpu: 100m + cpu: 10m memory: 128Mi command: - /bin/sh @@ -69,7 +69,7 @@ slskd: - name: DOT value: "off" securityContext: - privileged: True + privileged: true capabilities: add: - NET_ADMIN @@ -107,10 +107,8 @@ slskd: value: 300 resources: requests: - cpu: 100m + cpu: 10m memory: 256Mi - serviceAccount: - create: true service: main: controller: main