-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmrelease.yaml
45 lines (42 loc) · 1.02 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
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: reflector
namespace: reflector
spec:
interval: 1h
driftDetection:
mode: enabled
chart:
spec:
chart: reflector
version: 7.1.288
sourceRef:
kind: HelmRepository
namespace: reflector
name: reflector
interval: 1h
values:
priorityClassName: system-cluster-critical
podLabels:
policy.gabe565.com/egress-kubeapi: "true"
securityContext:
readOnlyRootFilesystem: true
postRenderers:
- kustomize:
patches:
- target:
kind: Deployment
name: reflector
# language=yaml
patch: |
- op: add
path: /spec/template/spec/volumes
value:
- name: tmp
emptyDir: {}
- op: add
path: /spec/template/spec/containers/0/volumeMounts
value:
- name: tmp
mountPath: /tmp