Fix Bug Creating Tenant Pull Secret. (#267)

This commit is contained in:
Daniel Valdivia
2020-09-04 17:09:17 -07:00
committed by GitHub
parent c59387c2b4
commit 94096ee657
3 changed files with 658 additions and 3 deletions

4
go.mod
View File

@@ -19,14 +19,14 @@ require (
github.com/minio/mc v0.0.0-20200808005614-7e52c104bee1
github.com/minio/minio v0.0.0-20200808024306-2a9819aff876
github.com/minio/minio-go/v7 v7.0.5-0.20200807085956-d7db33ea7618
github.com/minio/operator v0.0.0-20200806194125-c2ff646f4af1
github.com/minio/operator v0.0.0-20200904194631-b8aa01dc5d70
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect
github.com/secure-io/sio-go v0.3.1
github.com/stretchr/testify v1.6.1
github.com/unrolled/secure v1.0.7
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
golang.org/x/net v0.0.0-20200707034311-ab3426394381
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
gopkg.in/yaml.v2 v2.3.0
k8s.io/api v0.18.6
k8s.io/apimachinery v0.18.6

655
go.sum

File diff suppressed because it is too large Load Diff

View File

@@ -787,7 +787,7 @@ func setImageRegistry(ctx context.Context, tenantName string, req *models.ImageR
if err != nil {
return "", err
}
return "", nil
return pullSecretName, nil
}
return "", err
}