From 358d11f09bdd7884af1d98a3635487984a66d25c Mon Sep 17 00:00:00 2001 From: Andrey Melnikov Date: Fri, 30 Jul 2021 14:00:12 -0700 Subject: [PATCH] clean: updated public endpoint so that it is namespace specific - based on manifest changes --- cmd/build.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/build.go b/cmd/build.go index 581c20b..f26e484 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -313,7 +313,7 @@ func GenerateKustomizeResult(kustomizeTemplate template.Kustomize, options *Gene KeyFormat: artifactRepositoryConfig.GCS.KeyFormat, Bucket: artifactRepositoryConfig.GCS.Bucket, Endpoint: fmt.Sprintf("minio-gateway.%v.svc.cluster.local:9000", defaultNamespace), - PublicEndpoint: fmt.Sprintf("minio.%v", domain), + PublicEndpoint: fmt.Sprintf("sys-storage-%v.%v", defaultNamespace, domain), Insecure: true, PublicInsecure: insecure, AccessKeySecret: storage.ArtifactRepositorySecret{ @@ -344,7 +344,7 @@ func GenerateKustomizeResult(kustomizeTemplate template.Kustomize, options *Gene KeyFormat: artifactRepositoryConfig.ABS.KeyFormat, Bucket: artifactRepositoryConfig.ABS.Container, Endpoint: fmt.Sprintf("minio-gateway.%v.svc.cluster.local:9000", defaultNamespace), - PublicEndpoint: fmt.Sprintf("minio.%v", domain), + PublicEndpoint: fmt.Sprintf("sys-storage-%v.%v", defaultNamespace, domain), Insecure: true, PublicInsecure: insecure, AccessKeySecret: storage.ArtifactRepositorySecret{