From 2829a66d12c296180df7694b788190897ac11384 Mon Sep 17 00:00:00 2001 From: rrrkharse Date: Tue, 12 Jul 2022 14:35:33 -0700 Subject: [PATCH] Set s3 endpoint in workflow-controller-configmap from pipeline-install-config --- 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