Files
auricom-home-cluster/kubernetes/apps/kube-system/fstrim/app/helmrelease.yaml
feisar-bot[bot] 193515cedc ⬆️ Update ghcr.io/onedr0p/kubanetics ( 2025.1.2 → 2025.1.3 )
| datasource | package                    | from     | to       |
| ---------- | -------------------------- | -------- | -------- |
| docker     | ghcr.io/onedr0p/kubanetics | 2025.1.2 | 2025.1.3 |
2025-01-31 21:34:53 +01:00

73 lines
1.9 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app fstrim
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.6.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
fstrim:
type: cronjob
cronjob:
schedule: 0 0 * * 0
parallelism: 4 # Set to total number of nodes
successfulJobsHistory: 1
failedJobsHistory: 1
containers:
app:
image:
repository: ghcr.io/onedr0p/kubanetics
tag: 2025.1.3@sha256:3498e696030dca90c8159b1b3ee954563c15a6c28932b9c44a604421ff8e352b
env:
SCRIPT_NAME: fstrim.sh
resources:
requests:
cpu: 25m
limits:
memory: 128Mi
securityContext:
privileged: true
defaultPodOptions:
hostNetwork: true
hostPID: true
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
persistence:
procfs:
type: hostPath
hostPath: /proc
hostPathType: Directory
globalMounts:
- path: /host/proc
readOnly: true
netfs:
type: hostPath
hostPath: /sys
hostPathType: Directory
globalMounts:
- path: /host/net
readOnly: true