|
1 | 1 | # This is a YAML-formatted file. |
2 | 2 | # Declare variables to be passed into your templates. |
3 | 3 |
|
4 | | -# CVMFS configuration to be sourced into /etc/cvmfs. |
5 | | -# It is exposed as a set of ConfigMaps deployed in the same namespace |
6 | | -# as the CVMFS CSI driver. |
7 | | -cvmfsConfig: |
8 | | - |
9 | | - # ConfigMap for /etc/cvmfs/default.local file. |
10 | | - default.local: |
11 | | - |
12 | | - # Name of the ConfigMap (to use or create). |
13 | | - # If left empty, a name will be generated |
14 | | - # using the cvmfs-csi.fullname template. |
15 | | - configMapName: cvmfs-csi-default-local |
16 | | - |
17 | | - # Whether to use this ConfigMap in /etc/cvmfs/default.local. |
18 | | - use: true |
19 | | - |
20 | | - # Whether to create default.local ConfigMap with data entries defined below. |
21 | | - # If not, and `use` is set to true, it is expected the ConfigMap is already present. |
22 | | - create: true |
23 | | - |
24 | | - data: |
25 | | - |
26 | | - default.local: | |
27 | | - CVMFS_USE_GEOAPI=yes |
28 | | - CVMFS_HTTP_PROXY="http://ca-proxy.cern.ch:3128" |
29 | | -
|
30 | | - # It is advised to change these configs in the cache section of the helm values |
31 | | - # and leave them unchanged here, so they auto-generate. |
32 | | - CVMFS_QUOTA_LIMIT={{ .Values.cache.local.cvmfsQuotaLimit }} |
33 | | - CVMFS_CACHE_BASE=/cvmfs-localcache |
34 | | -
|
35 | | - {{- if .Values.cache.alien.enabled }} |
36 | | - CVMFS_ALIEN_CACHE=/cvmfs-aliencache |
37 | | - # When alien cache is used, CVMFS does not control the size of the cache. |
38 | | - CVMFS_QUOTA_LIMIT=-1 |
39 | | - # Whether repositories should share a cache directory or each have their own. |
40 | | - CVMFS_SHARED_CACHE=no |
41 | | - {{- end -}} |
42 | | -
|
43 | | - # ConfigMap for /etc/cvmfs/config.d directory. |
44 | | - config.d: |
45 | | - |
46 | | - # Name of the ConfigMap (to use or create). |
47 | | - # If left empty, a name will be generated |
48 | | - # using the cvmfs-csi.fullname template. |
49 | | - configMapName: cvmfs-csi-config-d |
50 | | - |
51 | | - # Whether to use this ConfigMap in /etc/cvmfs/config.d. |
52 | | - use: true |
53 | | - |
54 | | - # Whether to create ConfigMap with data entries defined below. |
55 | | - create: true |
56 | | - |
57 | | - data: {} |
58 | | - |
59 | | - # CERN |
60 | | - |
61 | | - # cern.ch.conf: | |
62 | | - # CVMFS_SERVER_URL="http://cvmfs-stratum-one.cern.ch/cvmfs/@fqrn@;http://cernvmfs.gridpp.rl.ac.uk/cvmfs/@fqrn@;http://cvmfs.racf.bnl.gov/cvmfs/@fqrn@;http://cvmfs.fnal.gov/cvmfs/@fqrn@" |
63 | | - # CVMFS_PUBLIC_KEY='/etc/cvmfs/config.d/cern.ch.pub' |
64 | | - |
65 | | - # cern.ch.pub: | |
66 | | - # -----BEGIN PUBLIC KEY----- |
67 | | - # MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiAKBgHvy9PFYteIdwD5OxEosZoqpSUxP |
68 | | - # LddA+zRwD0lWfavbFoCJOJS23zPpIimQ0gzH3FAebR3x9JzVVa3JFLxIUj4Fv3d6 |
69 | | - # /3fWhyK4Nmxc7B1Qh7wrRYlYtcDszGGk2DB0ETI83Jbzvfx1slvhMkqjWQ0c30w8 |
70 | | - # BWglnUvav0hRRwJRAgMBAAE= |
71 | | - # -----END PUBLIC KEY----- |
| 4 | +# Extra ConfigMaps to create and manage by the chart release. |
| 5 | +# These can be used e.g. when defining CVMFS client configuration. |
| 6 | +# ConfigMap data supports go-template expressions. |
| 7 | +extraConfigMaps: |
| 8 | +# /etc/cvmfs/default.local |
| 9 | +- name: cvmfs-csi-default-local |
| 10 | + data: |
| 11 | + default.local: | |
| 12 | + CVMFS_USE_GEOAPI=yes |
| 13 | + CVMFS_HTTP_PROXY="http://ca-proxy.cern.ch:3128" |
| 14 | +
|
| 15 | + # It is advised to change these configs in the cache section of the helm values |
| 16 | + # and leave them unchanged here, so they auto-generate. |
| 17 | + CVMFS_QUOTA_LIMIT={{ .Values.cache.local.cvmfsQuotaLimit }} |
| 18 | + CVMFS_CACHE_BASE=/cvmfs-localcache |
| 19 | +
|
| 20 | + {{- if .Values.cache.alien.enabled }} |
| 21 | + CVMFS_ALIEN_CACHE=/cvmfs-aliencache |
| 22 | + # When alien cache is used, CVMFS does not control the size of the cache. |
| 23 | + CVMFS_QUOTA_LIMIT=-1 |
| 24 | + # Whether repositories should share a cache directory or each have their own. |
| 25 | + CVMFS_SHARED_CACHE=no |
| 26 | + {{- end -}} |
72 | 27 |
|
73 | 28 | # Cache configuration for storing CVMFS client data. |
74 | 29 | # CVMFS CSI supports two kinds of caches: |
@@ -99,13 +54,25 @@ nodeplugin: |
99 | 54 | # and to generate DaemonSet name. |
100 | 55 | name: nodeplugin |
101 | 56 |
|
| 57 | + # Extra volumes to be appended to nodeplugin's Pod.spec.volumes. |
| 58 | + extraVolumes: |
| 59 | + - name: etc-cvmfs-default-conf |
| 60 | + configMap: |
| 61 | + name: cvmfs-csi-default-local |
| 62 | + |
102 | 63 | # CVMFS CSI image and container resources specs. |
103 | 64 | plugin: |
104 | 65 | image: |
105 | 66 | repository: registry.cern.ch/magnum/cvmfs-csi |
106 | 67 | tag: v2.0.0 |
107 | 68 | pullPolicy: IfNotPresent |
108 | 69 | resources: {} |
| 70 | + # Extra volume mounts to append to nodeplugin's |
| 71 | + # Pod.spec.containers[name="nodeplugin"].volumeMounts. |
| 72 | + extraVolumeMounts: |
| 73 | + - name: etc-cvmfs-default-conf |
| 74 | + mountPath: /etc/cvmfs/default.local |
| 75 | + subPath: default.local |
109 | 76 |
|
110 | 77 | # csi-node-driver-registrar image and container resources specs. |
111 | 78 | registrar: |
@@ -170,13 +137,16 @@ controllerplugin: |
170 | 137 | # Number of Deployment replicas. In general, one is sufficient. |
171 | 138 | replicas: 1 |
172 | 139 |
|
| 140 | + extraVolumes: [] |
| 141 | + |
173 | 142 | # CVMFS CSI image and container resources specs. |
174 | 143 | plugin: |
175 | 144 | image: |
176 | 145 | repository: registry.cern.ch/magnum/cvmfs-csi |
177 | 146 | tag: v2.0.0 |
178 | 147 | pullPolicy: IfNotPresent |
179 | 148 | resources: {} |
| 149 | + extraVolumeMounts: [] |
180 | 150 |
|
181 | 151 | # CSI external-provisioner image and container resources specs. |
182 | 152 | provisioner: |
|
0 commit comments