helm upgrade -i minio-tenant ./tenant --namespace minio-tenant --create-namespace -f ./values.yml
coalesce.go:220: warning: cannot overwrite table with non table for tenant.tenant.features.domains (map[]) Error: UPGRADE FAILED: failed to create resource: Tenant.minio.min.io "example" is invalid: spec.features.domains: Invalid value: "string": spec.features.domains in body must be of type object: "string".
I am learning helm chart. I am trying to install MinIO tenant. I read the doc, https://github.com/minio/operator/blob/master/docs/tenant_crd.adoc#features. No clue of this error.
secrets:
name: example-configuration
accessKey: minioadmin
secretKey: minioadmin
tenant:
name: example
image:
repository: quay.io/minio/minio
tag: RELEASE.2023-07-21T21-12-44Z
pullPolicy: IfNotPresent
imagePullSecret: { }
scheduler: { }
configuration:
name: example-configuration
pools:
- servers: 4
name: pool-0
volumesPerServer: 4
size: 130Gi
storageClassName: performance-optimized
annotations: { }
labels: { }
tolerations: [ ]
nodeSelector: { }
affinity: { }
resources: { }
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
runAsNonRoot: true
containerSecurityContext:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
topologySpreadConstraints: [ ]
mountPath: /export
subPath: /data
metrics:
enabled: true
port: 9000
protocol: http
certificate:
externalCaCertSecret: [ ]
externalCertSecret: [ ]
requestAutoCert: true
certConfig: { }
## https://github.com/minio/operator/blob/master/docs/tenant_crd.adoc#features
features:
bucketDNS: true
domains:
http://frankfurt.example.com/data
http://frankfurt.example.com
enableSFTP: false
buckets:
- name: bucket-example
objectLock: false
region: eu-central-1