-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathvalues.yaml
More file actions
130 lines (111 loc) · 3.54 KB
/
values.yaml
File metadata and controls
130 lines (111 loc) · 3.54 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Secrets:
# apiToken [Required if secretRef is not set] - Must be a Linode APIv4 Personal Access Token with all permissions. (https://cloud.linode.com/profile/tokens)
apiToken: ""
# region [Required if secretRef is not set] - Must be a Linode region. (https://api.linode.com/v4/regions)
region: ""
# enableMetrics: This variable must be set to true to get metrics
enableMetrics: false
# default metrics address port
metricsPort: 8081
# enableTracing: This variable must be set to true to get metrics
enableTracing: false
# default tracing address port
tracingPort: 4318
# (OPTIONAL) Label prefix for the Linode Block Storage volumes created by this driver.
volumeLabelPrefix: ""
# Default namespace is "kube-system" but it can be set to another namespace
namespace: kube-system
# Add a kubelet path variable to be used across containers for alternate k8s distros (e.g K0s, K3s)
kubeletPath: "/var/lib/kubelet"
# Set these values if your APIToken and region are already present in a k8s secret.
# secretRef:
# name: "linode"
# apiTokenRef: "apiToken"
# regionRef: "region"
# Default storageClass is "linode-block-storage-retain" but it can be set to
# "linode-block-storage" or left as an empty string
defaultStorageClass: linode-block-storage-retain
# set these value to a comma separated string if you'd like to add tags to the created volumes
# volumeTags:
# - example
# - test
# Images - Default
csiProvisioner:
image: registry.k8s.io/sig-storage/csi-provisioner
tag: v5.3.0
pullPolicy: IfNotPresent
metrics:
address: "0.0.0.0:10248"
port: 10248 # Metrics port for csi-provisioner
csiAttacher:
image: registry.k8s.io/sig-storage/csi-attacher
tag: v4.9.0
pullPolicy: IfNotPresent
metrics:
address: "0.0.0.0:10249"
port: 10249 # Metrics port for csi-attacher
csiResizer:
image: registry.k8s.io/sig-storage/csi-resizer
tag: v1.14.0
pullPolicy: IfNotPresent
metrics:
address: "0.0.0.0:10250"
port: 10250 # Metrics port for csi-resizer
csiLinodePlugin:
image: linode/linode-blockstorage-csi-driver
tag: # only set if required, defaults to .Chart.AppVersion set during release or "latest" by default
pullPolicy: IfNotPresent
podsMountDir: /var/lib/kubelet
# This section adds the ability to pass environment variables to adjust CSI defaults
env:
# - name: EXAMPLE_ENV_VAR
# value: "true"
# This section adds the ability to pass volumes to the DaemonSet
volumes:
# - name: test-volume
# emptyDir:
# sizeLimit: 500Mi
# this section adds the ability to pass volumeMounts to the container
volumeMounts:
# - mountPath: /tmp/
# name: test-volume
# This section adds the ability to pass resources to the container
resources:
csiNodeDriverRegistrar:
image: registry.k8s.io/sig-storage/csi-node-driver-registrar
tag: v2.14.0
# Additional environment variables for the node driver registrar container
env: []
# Additional volume mounts for the node driver registrar container
volumeMounts: []
controller:
enabled: true
hostNetwork: false
dnsPolicy: Default
kubeconfig:
mountDir: ""
secretName: ""
secretKey: ""
serviceAccount:
enabled: true
name: "csi-controller-sa"
rbac:
enabled: true
nodeSelector: {}
affinity: {}
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- effect: NoExecute
operator: Exists
daemonSet:
enabled: true
serviceAccount:
enabled: true
name: "csi-node-sa"
rbac:
enabled: true
# Add custom annotations to all pods
podAnnotations: {}
# Add custom labels to all pods
podLabels: {}