English 中文(简体)
spec.features.domains in body must be of type object: "string"
原标题:

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
问题回答

暂无回答




相关问题
using Helm behind a proxy

I want to use Helm on new environment that only have access to Internte via Proxy. How can I use Helm commands with proxy? helm repo add .... helm repo update I tried to give proxy in command but I ...

helm with if condition and its scope for the value set

I would like to overwrite the user template with .Values.userTemplate if it exist. But I always get $user as undefined when the .Vaues.userTemplate exist. If i remove if condition and use {{- $user := ...

热门标签