generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 13
/
helmrelease.yaml
45 lines (45 loc) · 1.16 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
---
# yaml-language-server: $schema=https://github.com/fluxcd-community/flux2-schemas/raw/main/helmrelease-helm-v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: csi-driver-nfs
spec:
interval: 30m
chart:
spec:
chart: csi-driver-nfs
version: v4.7.0
sourceRef:
kind: HelmRepository
name: csi-driver-nfs
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controller:
runOnControlPlane: true
externalSnapshotter:
enabled: false
node:
tolerations: []
# runOnControlPlane: true sets the nodeSelector to
# node-role.kubernetes.io/control-plane: "" - which does not match the
# actual value of "true".
postRenderers:
- kustomize:
patches:
- target:
version: apps/v1
kind: Deployment
name: csi-nfs-controller
patch: |
- op: replace
path: /spec/template/spec/nodeSelector/node-role.kubernetes.io~1control-plane
value: "true"