Files
auricom-home-cluster/kubernetes/apps/kube-system/fstrim/app/helmrelease.yaml
feisar-bot[bot] 37e168c5f6 ⬆️ Update ghcr.io/onedr0p/kubanetics ( 2024.12.4 → 2025.1.2 )
| datasource | package                    | from      | to       |
| ---------- | -------------------------- | --------- | -------- |
| docker     | ghcr.io/onedr0p/kubanetics | 2024.12.4 | 2025.1.2 |
2025-01-19 16:45:21 +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.2@sha256:b0f4956eb1e0afdb02679a5d77e4ee4f5ff390b07923f336d10a6c257cff8f7b
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