From d904be9e8b70e2c8d7c70f5fe93eda8a7ce8be03 Mon Sep 17 00:00:00 2001 From: rrrkharse <91350438+rrrkharse@users.noreply.github.com> Date: Thu, 14 Jul 2022 13:02:35 -0700 Subject: [PATCH] Set s3 endpoint in workflow-controller-configmap from pipeline-install-config (#291) --- awsconfigs/apps/pipeline/s3/config | 2 +- awsconfigs/apps/pipeline/s3/kustomization.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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