diff --git a/awsconfigs/apps/pipeline/s3/config b/awsconfigs/apps/pipeline/s3/config index ebf05538dc..80fb460a4b 100644 --- a/awsconfigs/apps/pipeline/s3/config +++ b/awsconfigs/apps/pipeline/s3/config @@ -4,7 +4,7 @@ artifactRepository: s3: { bucket: $(kfp-artifact-bucket-name), keyPrefix: artifacts, - endpoint: s3.amazonaws.com, + endpoint: $(kfp-artifact-storage-endpoint), insecure: true, accessKeySecret: { name: mlpipeline-minio-artifact, diff --git a/awsconfigs/apps/pipeline/s3/kustomization.yaml b/awsconfigs/apps/pipeline/s3/kustomization.yaml index 0e7f1cc0a7..ce99e7ae64 100644 --- a/awsconfigs/apps/pipeline/s3/kustomization.yaml +++ b/awsconfigs/apps/pipeline/s3/kustomization.yaml @@ -26,3 +26,11 @@ patchesStrategicMerge: # when application is deleted. commonLabels: application-crd-id: kubeflow-pipelines +vars: +- name: kfp-artifact-storage-endpoint + objref: + kind: ConfigMap + name: pipeline-install-config + apiVersion: v1 + fieldref: + fieldpath: data.minioServiceHost