Skip to content

features domain broken on Tenant helm chart #1354

Allan Roger Reid edited this page Dec 29, 2022 · 12 revisions

Status: Open

Pull Request

Parse .spec.features.domains.minio array elements by allanrogerr · Pull Request #39 · allanrogerr/operator

Issues

features domain broken on Tenant helm chart · Issue #1354 · minio/operator

Steps

1a. Commented out "destroy_kind" from testing/deploy-tenant.sh

b. Added snippet to examples/kustomization/tenant-lite/tenant.yaml

    domains:
      minio:
        - minio.tenant-lite.svc.cluster.local
        - test.tenant-lite.svc.cluster.local

c. Run testing/deploy-tenant.sh

d. Once complete, observe MINIO_DOMAIN and MINIO_SERVER_URL set correctly with

k describe statefulset/storage-lite-pool-0 -n tenant-lite
image

e. Validate that MINIO_SERVER_URL is accessible with

k -n tenant-lite exec -it storage-lite-pool-0-0 -- /bin/sh
curl https://minio.tenant-lite.svc.cluster.local
image

2a. Commented out "destroy_kind" from testing/check-helm.sh

b. Added snippet to examples/kustomization/tenant-lite/tenant.yaml

    domains:
      minio:
        - minio.default.svc.cluster.local
        - minio1.default.svc.cluster.local

c. Run testing/check-helm.sh

d. Once complete, observe MINIO_DOMAIN and MINIO_SERVER_URL set correctly with

k describe statefulset/minio1-pool-0 -n default
image

e. Validate that MINIO_SERVER_URL is accessible with

k -n default exec -it minio1-pool-0-0 -- /bin/sh
curl https://minio.default.svc.cluster.local
image