generated from onedr0p/cluster-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
helmrelease.yaml
51 lines (51 loc) · 1.33 KB
/
helmrelease.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
# 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: cloudflare-ddns
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.2.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
cloudflare-ddns:
type: cronjob
cronjob:
schedule: "@hourly"
successfulJobsHistory: 0
containers: &container
app:
image:
repository: ghcr.io/onedr0p/kubanetics
tag: 2024.5.6@sha256:8c11900e6543d70d3cf1c0f137de622fbf26992403a7a3a667c15151ec03f41c
command: ["/app/cloudflare-ddns.sh"]
resources:
requests:
cpu: 5m
limits:
memory: 16Mi
persistence:
config:
type: secret
name: cloudflare-ddns-secret
defaultMode: 0775
globalMounts:
- path: /app/cloudflare-ddns.sh
subPath: cloudflare-ddns.sh
readOnly: true