Skip to content

Commit de18b95

Browse files
committed
use image proxy url
1 parent 9763ec5 commit de18b95

File tree

1 file changed

+16
-23
lines changed

1 file changed

+16
-23
lines changed

Diff for: applications/storagebox/kots/storagebox-chart.yaml

+16-23
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ spec:
1111
enabled: true
1212
nfs-server:
1313
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`` }}
1419
global:
1520
fullnameOverride: nfs-server
1621
controller:
@@ -23,7 +28,7 @@ spec:
2328
readOnly: false
2429
accessMode: ReadWriteOnce
2530
storageClass: ""
26-
size: 10Gi
31+
size: repl{{ ConfigOption "nfs_storage_size" | default "10Gi" }}
2732
retain: true
2833
mountPath: repl{{ ConfigOption "nfs_share" }}
2934
env:
@@ -64,12 +69,9 @@ spec:
6469
name: repl{{ ConfigOption "minio_tenant_name" }}
6570
image:
6671
repository: repl{{ HasLocalRegistry | ternary LocalRegistryHost "proxy.xyyzx.net/storagebox/quay.io/" }}/minio/minio
67-
tag: RELEASE.2024-08-17T01-24-54Z
6872
pullPolicy: IfNotPresent
6973
imagePullSecret: { }
7074
scheduler: { }
71-
# configuration:
72-
# name: repl{{ ConfigOption "minio_tenant_configuration_name" }}
7375
certificate:
7476
requestAutoCert: true
7577
configSecret:
@@ -107,7 +109,13 @@ spec:
107109
tolerations: [ ]
108110
nodeSelector: { }
109111
affinity: { }
110-
resources: { }
112+
resources:
113+
limits:
114+
cpu: "2000m"
115+
memory: "4Gi"
116+
requests:
117+
cpu: "1000m"
118+
memory: "2Gi"
111119
securityContext:
112120
runAsUser: 1000
113121
runAsGroup: 1000
@@ -128,28 +136,13 @@ spec:
128136
enabled: repl{{ ConfigOptionEquals "minio_tenant_metrics_enabled" "1" }}
129137
port: repl{{ ConfigOption "minio_tenant_metrics_port" }}
130138
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
140139
buckets:
141140
- name: repl{{ ConfigOption "minio_tenant_bucket_name" }}
142141
objectLock: repl{{ ConfigOptionEquals "minio_tenant_bucket_object_lock" "1" }}
143142
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" }}
153146

154147
optionalValues:
155148
- when: 'repl{{ ConfigOptionEquals "cassandra_tls_type" "cassandra_no_ssl" }}'

0 commit comments

Comments
 (0)