Skip to content

Commit

Permalink
clean: updated public endpoint so that it is namespace specific - bas…
Browse files Browse the repository at this point in the history
…ed on manifest changes
  • Loading branch information
Vafilor committed Jul 30, 2021
1 parent 8c79f2e commit 358d11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 358d11f

Please sign in to comment.