File tree Expand file tree Collapse file tree
docker/devbox-bundled/manifests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{{- if and .Values.rustfs.enabled .Values.rustfs.bucketInit.enabled }}
22{{- $accessKey := .Values.rustfsupstream.secret.rustfs.access_key }}
33{{- $secretKey := .Values.rustfsupstream.secret.rustfs.secret_key }}
4+ {{- $endpoint := tpl .Values.rustfs.bucketInit.endpoint . }}
45apiVersion : batch/v1
56kind : Job
67metadata :
2930 - /bin/sh
3031 - -ec
3132 - |
32- until mc alias set local '{{ .Values.rustfs.bucketInit. endpoint }}' '{{ $accessKey }}' '{{ $secretKey }}'; do
33+ until mc alias set local '{{ $ endpoint }}' '{{ $accessKey }}' '{{ $secretKey }}'; do
3334 echo "waiting for rustfs endpoint..."
3435 sleep 2
3536 done
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ flyte-binary:
2727 s3 :
2828 disableSSL : true
2929 v2Signing : true
30- endpoint : http://rustfs-svc:9000
30+ endpoint : http://rustfs-svc.{{ .Release.Namespace }} :9000
3131 authType : accesskey
3232 accessKey : rustfs
3333 secretKey : rustfsstorage
@@ -52,7 +52,7 @@ flyte-binary:
5252 plugins :
5353 k8s :
5454 default-env-vars :
55- - FLYTE_AWS_ENDPOINT : http://rustfs-svc:9000
55+ - FLYTE_AWS_ENDPOINT : http://rustfs-svc.{{ .Release.Namespace }} :9000
5656 - FLYTE_AWS_ACCESS_KEY_ID : rustfs
5757 - FLYTE_AWS_SECRET_ACCESS_KEY : rustfsstorage
5858 - _U_EP_OVERRIDE : ' flyte-binary-http.{{ .Release.Namespace }}:8090'
@@ -113,7 +113,7 @@ rustfs:
113113 enabled : true
114114 bucketInit :
115115 enabled : true
116- endpoint : http://rustfs-svc:9000
116+ endpoint : http://rustfs-svc.{{ .Release.Namespace }} :9000
117117 image :
118118 repository : minio/mc
119119 tag : latest
Original file line number Diff line number Diff line change @@ -890,7 +890,7 @@ spec:
890890 - /bin/sh
891891 - -ec
892892 - |
893- until mc alias set local 'http://rustfs-svc:9000' 'rustfs' 'rustfsstorage'; do
893+ until mc alias set local 'http://rustfs-svc.flyte :9000' 'rustfs' 'rustfsstorage'; do
894894 echo "waiting for rustfs endpoint..."
895895 sleep 2
896896 done
You can’t perform that action at this time.
0 commit comments