From 24f282aa96f22f102c2dd836d7fb316c51b0da1e Mon Sep 17 00:00:00 2001 From: Ethan Mosbaugh Date: Mon, 9 Sep 2024 15:18:25 -0700 Subject: [PATCH] fix(proxy): use fqdn for kotsadm-minio address --- pkg/kotsadm/objects/kotsadm_objects.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/kotsadm/objects/kotsadm_objects.go b/pkg/kotsadm/objects/kotsadm_objects.go index 348ab9a139..f2741bea62 100644 --- a/pkg/kotsadm/objects/kotsadm_objects.go +++ b/pkg/kotsadm/objects/kotsadm_objects.go @@ -290,7 +290,7 @@ func KotsadmDeployment(deployOptions types.DeployOptions) (*appsv1.Deployment, e }, { Name: "S3_ENDPOINT", - Value: "http://kotsadm-minio:9000", + Value: fmt.Sprintf("http://kotsadm-minio.%s.svc.cluster.local:9000", deployOptions.Namespace), }, { Name: "S3_BUCKET_NAME", @@ -562,7 +562,7 @@ func KotsadmDeployment(deployOptions types.DeployOptions) (*appsv1.Deployment, e Env: []corev1.EnvVar{ { Name: "S3_ENDPOINT", - Value: "http://kotsadm-minio:9000", + Value: fmt.Sprintf("http://kotsadm-minio.%s.svc.cluster.local:9000", deployOptions.Namespace), }, { Name: "S3_BUCKET_NAME", @@ -1082,7 +1082,7 @@ func KotsadmStatefulSet(deployOptions types.DeployOptions, size resource.Quantit Env: []corev1.EnvVar{ { Name: "S3_ENDPOINT", - Value: "http://kotsadm-minio:9000", + Value: fmt.Sprintf("http://kotsadm-minio.%s.svc.cluster.local:9000", deployOptions.Namespace), }, { Name: "S3_BUCKET_NAME",