Skip to content

Commit

Permalink
Revert "Set MINIO_DOMAIN to enable to enable virtual-host-style reque…
Browse files Browse the repository at this point in the history
…sts (#270)" (#271)

This reverts commit 996360e.
  • Loading branch information
kerneltime committed Aug 28, 2020
1 parent 996360e commit 5f6e19f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions pkg/apis/minio.min.io/v1/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ func (t *Tenant) MinIOCIServiceName() string {
return t.Spec.ServiceName
}

// MinIOBucketBaseDomain returns the base domain name for buckets
func (t *Tenant) MinIOBucketBaseDomain() string {
return fmt.Sprintf("%s.svc.%s", t.Namespace, ClusterDomain)
}

// MinIOFQDNServiceName returns the name of the service created for the tenant.
func (t *Tenant) MinIOFQDNServiceName() string {
return fmt.Sprintf("%s.%s.svc.%s", t.MinIOCIServiceName(), t.Namespace, ClusterDomain)
Expand Down
3 changes: 0 additions & 3 deletions pkg/resources/statefulsets/minio-statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ func minioEnvironmentVars(t *miniov1.Tenant, wsSecret *v1.Secret, hostsTemplate
}, corev1.EnvVar{
Name: "MINIO_UPDATE_MINISIGN_PUBKEY",
Value: "RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav",
}, corev1.EnvVar{
Name: "MINIO_DOMAIN",
Value: t.MinIOBucketBaseDomain(),
}, corev1.EnvVar{
Name: "MINIO_ARGS",
ValueFrom: &corev1.EnvVarSource{
Expand Down

0 comments on commit 5f6e19f

Please sign in to comment.