Skip to content

Commit

Permalink
fix(proxy): use fqdn for kotsadm-minio address
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Sep 9, 2024
1 parent 0eaf3f9 commit 24f282a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/kotsadm/objects/kotsadm_objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 24f282a

Please sign in to comment.