11
11
enabled : true
12
12
nfs-server :
13
13
enabled : repl{{ ConfigOptionEquals "nfs_enabled" "1" }}
14
+ image :
15
+ repository : repl{{ HasLocalRegistry | ternary LocalRegistryHost "proxy.xyyzx.net/storagebox/ghcr.io/obeone" }}/nfs-server
16
+ pullPolicy : IfNotPresent
17
+ imagePullSecrets :
18
+ - name : repl{{ ImagePullSecretName`` }}
14
19
global :
15
20
fullnameOverride : nfs-server
16
21
controller :
23
28
readOnly : false
24
29
accessMode : ReadWriteOnce
25
30
storageClass : " "
26
- size : 10Gi
31
+ size : repl{{ ConfigOption "nfs_storage_size" | default " 10Gi" }}
27
32
retain : true
28
33
mountPath : repl{{ ConfigOption "nfs_share" }}
29
34
env :
64
69
name : repl{{ ConfigOption "minio_tenant_name" }}
65
70
image :
66
71
repository : repl{{ HasLocalRegistry | ternary LocalRegistryHost "proxy.xyyzx.net/storagebox/quay.io/" }}/minio/minio
67
- tag : RELEASE.2024-08-17T01-24-54Z
68
72
pullPolicy : IfNotPresent
69
73
imagePullSecret : { }
70
74
scheduler : { }
71
- # configuration:
72
- # name: repl{{ ConfigOption "minio_tenant_configuration_name" }}
73
75
certificate :
74
76
requestAutoCert : true
75
77
configSecret :
@@ -107,7 +109,13 @@ spec:
107
109
tolerations : [ ]
108
110
nodeSelector : { }
109
111
affinity : { }
110
- resources : { }
112
+ resources :
113
+ limits :
114
+ cpu : " 2000m"
115
+ memory : " 4Gi"
116
+ requests :
117
+ cpu : " 1000m"
118
+ memory : " 2Gi"
111
119
securityContext :
112
120
runAsUser : 1000
113
121
runAsGroup : 1000
@@ -128,28 +136,13 @@ spec:
128
136
enabled : repl{{ ConfigOptionEquals "minio_tenant_metrics_enabled" "1" }}
129
137
port : repl{{ ConfigOption "minio_tenant_metrics_port" }}
130
138
protocol : repl{{ ConfigOption "minio_tenant_metrics_protocol" }}
131
- # ##
132
- # Array of objects describing one or more buckets to create during tenant provisioning.
133
- # Example:
134
- #
135
- # .. code-block:: yaml
136
- #
137
- # - name: my-minio-bucket
138
- # objectLock: false # optional
139
- # region: us-east-1 # optional
140
139
buckets :
141
140
- name : repl{{ ConfigOption "minio_tenant_bucket_name" }}
142
141
objectLock : repl{{ ConfigOptionEquals "minio_tenant_bucket_object_lock" "1" }}
143
142
region : repl{{ ConfigOption "minio_tenant_bucket_region" }}
144
- # Array of Kubernetes secrets from which the Operator generates MinIO users during tenant provisioning.
145
- #
146
- # Each secret should specify the ``CONSOLE_ACCESS_KEY`` and ``CONSOLE_SECRET_KEY`` as the access key and secret key for that user.
147
- # users:
148
- # - '{{repl ConfigOption "minio_tenant_user_name"}}'
149
- # secrets:
150
- # name: repl{{ ConfigOption "minio_tenant_user_name" }}
151
- # accessKey: repl{{ ConfigOption "minio_tenant_user_access_key" }}
152
- # secretKey: repl{{ ConfigOption "minio_tenant_user_secret_key" }}
143
+ users :
144
+ - name : repl{{ ConfigOption "minio_tenant_user_name" | default "minio-user" }}
145
+ secretName : repl{{ ConfigOption "minio_tenant_user_secret" | default "minio-user-secret" }}
153
146
154
147
optionalValues :
155
148
- when : ' repl{{ ConfigOptionEquals "cassandra_tls_type" "cassandra_no_ssl" }}'
0 commit comments