-
Notifications
You must be signed in to change notification settings - Fork 18
/
values.yaml
227 lines (220 loc) · 7.11 KB
/
values.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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# Definition of LinstorCluster
# Ref https://github.com/piraeusdatastore/piraeus-operator/blob/v2/docs/reference/linstorcluster.md
linstorCluster: {}
## Only deploy LINBIT SDS on the nodes matching these labels.
# nodeSelector:
# example.com/worker: ""
#
## Only deploy LINBIT SDS on nodes matching these affinity settings.
# nodeAffinity:
# nodeSelectorTerms:
# - matchExpressions:
# - key: ""
# operator: NotIn
# values:
# - example.com/no-storage
# - example.com/windows
#
## Instead of pulling from default locations, pull from this registry.
## For example drbd.io/linstor-controller would become registry.example.com/linbit-sds/linstor-controller.
# repository: registry.example.com/linbit-sds
#
## Secret to store the LINSTOR Passphrase. Set "linstorPassphrase" to configure directly with this chart.
# linstorPassphraseSecret: passphrase-secret
#
## Instead of deploying a LINSTOR Controller, use an existing controller reachable at the given URL.
# externalController:
# url: http://linstor-controller.external.example.com:3370
#
## Configure TLS for the LINSTOR API. Set "createApiTLS" to create the certificates with this chart.
# apiTLS:
# certManager:
# name: api-issuer
# kind: Issuer
# apiSecretName: linstor-api-tls
# clientSecretName: linstor-client-tls
# csiControllerSecretName: linstor-csi-controller-tls
# csiNodeSecretName: linstor-csi-node-tls
#
## Configure TLS between LINSTOR Controller and Satellites. Set "createInternalTLS" to create the certificates with this chart.
# internalTLS:
# certManager:
# name: internal-issuer
# kind: Issuer
# secretName: internal-tls
#
## Set the LINSTOR Properties on the Controller level
# properties:
# - name: DrbdOptions/Net/tls
# value: "yes"
#
## Apply patches to the Operator-managed resources.
# patches:
# - target:
# kind: Service
# name: linstor-controller
# patch: |
# apiVersion: v1
# kind: Service
# metadata:
# name: linstor-controller
# spec:
# ipFamilyPolicy: SingleStack
#
## Configure the LINSTOR Controller component.
# controller:
# enabled: true
# podTemplate:
# spec:
# hostNetwork: true
#
## Configure the LINSTOR CSI Controller component.
# csiController:
# enabled: true
# podTemplate:
# spec:
# hostNetwork: true
#
## Configure the LINSTOR CSI Node component.
# csiNode:
# enabled: true
# podTemplate:
# spec:
# hostNetwork: true
#
## Configure the LINSTOR High Availability Controller component.
# highAvailabilityController:
# enabled: true
# podTemplate:
# spec:
# hostNetwork: true
# Create a passpharse secret for LINSTOR.
# If set, automatically also sets linstorCluster.linstorPasspharseSecret
linstorPassphrase: ""
# Create the necessary certificates for linstorCluster.apiTLS using the provided method:
# * "" will not create any certificates.
# * "helm" will use Helm itself to generate certificates.
# * "cert-manager" will create a self-signed CA provisioner using a cert-manager.io Issuer.
createApiTLS: ""
# Create the necessary certificates for linstorCluster.internalTLS using the provided method:
# * "" will not create any certificates.
# * "helm" will use Helm itself to generate certificates.
# * "cert-manager" will create a self-signed CA provisioner using a cert-manager.io Issuer.
createInternalTLS: ""
# Definition of linstorSatelliteConfigurations
# Ref https://github.com/piraeusdatastore/piraeus-operator/blob/v2/docs/reference/linstorsatelliteconfiguration.md
linstorSatelliteConfigurations: []
## Name to give the satellite configuration
#- name: worker-config
#
## Only apply configuration on the nodes matching these labels.
# nodeSelector:
# example.com/worker: ""
#
## Only apply configuration on the nodes matching this affinity.
# nodeAffinity:
# nodeSelectorTerms:
# - matchExpressions:
# - key: ""
# operator: NotIn
# values:
# - example.com/no-storage
# - example.com/windows
#
## Configure TLS between LINSTOR Controller and Satellites. If "createInternalTLS" is set, it will automatically create
## a configuration that sets internalTLS for all satellites.
# internalTLS:
# certManager:
# name: internal-issuer
# kind: Issuer
# secretName: internal-tls
#
## Additional properties to apply on the LINSTOR Satellite. Can inherit values from the Kubernetes Node resource.
# properties:
# - name: AutoplaceTarget
# value: "no"
# - name: Aux/topology/failure-domain
# valueFrom:
# nodeFieldRef: metadata.annotations['example.com/failure-domain']
# optional: true
#
## Configure Storage Pools for the node.
# storagePools:
# - name: lvm
# properties:
# - name: StorDriver/LvcreateOptions
# value: "--compression y"
# lvmPool:
# volumeGroup: vg1
# - name: lvm-thin
# properties:
# - name: StorDriver/LvcreateOptions
# value: "--compression y"
# lvmThinPool:
# volumeGroup: vg2
# thinPool: thin
# source:
# hostDevices:
# - /dev/nvme1
#
## Override the default Pod template used for the Satellite.
# podTemplate:
# spec:
# hostNetwork: true
#
## Apply patches to the Operator managed resources.
# patches:
# - target:
# kind: ConfigMap
# name: reactor-config
# patch: |
# apiVersion: v1
# kind: ConfigMap
# metadata:
# name: reactor-config
# data:
# prometheus.toml: |
# [[prometheus]]
# enums = false
# address = ":9942"
# Definition of linstorNodeConnections
# Ref https://github.com/piraeusdatastore/piraeus-operator/blob/v2/docs/reference/linstornodeconnection.md
linstorNodeConnections: []
## Name for the node connection
#- name: cross-region
#
## Select the pairs of nodes between which the following setting should apply.
## The example selects all pairs of nodes that are not in the same region
# selector:
# - matchLabels:
# - key: topology.kubernetes.io/region
# op: NotSame
## Properties to set for the connection
# properties:
# - name: DrbdOptions/Net/protocol
# value: B
## Paths to configure: LINSTOR will use these preferred paths if configured instead of the default interface.
# paths:
# - interface: enp0s1
# name: wan
# Enable monitoring via Prometheus Operator
monitoring:
# Set to true to create prometheus monitoring opjects
enabled: false
# Configuration for the default Grafana dashboard
dashboard:
# Enable deployment of the Grafana dashboard
enabled: true
# List of storageClasses. You can create different SC with different params
storageClasses: []
# - name: linstor-r01
# annotations:
# storageclass.kubernetes.io/is-default-class: "true"
# reclaimPolicy: Delete
# allowVolumeExpansion: true
# volumeBindingMode: WaitForFirstConsumer
# provisioner: linstor.csi.linbit.com
# parameters:
# linstor.csi.linbit.com/autoPlace: "1"
# linstor.csi.linbit.com/storagePool: lvm-thin
# linstor.csi.linbit.com/allowRemoteVolumeAccess: "false"