diff --git a/contrib/seaweedfs/base/kustomization.yaml b/contrib/seaweedfs/base/kustomization.yaml index fca6773739..166c238dae 100644 --- a/contrib/seaweedfs/base/kustomization.yaml +++ b/contrib/seaweedfs/base/kustomization.yaml @@ -6,4 +6,4 @@ resources: - seaweedfs-deployment.yaml - seaweedfs-pvc.yaml - seaweedfs-service.yaml -- seadweedfs-networkpolicy.yaml \ No newline at end of file +- seadweedfs-networkpolicy.yaml diff --git a/contrib/seaweedfs/istio/kustomization.yaml b/contrib/seaweedfs/istio/kustomization.yaml index a8b34ac8b6..2dffd5d150 100644 --- a/contrib/seaweedfs/istio/kustomization.yaml +++ b/contrib/seaweedfs/istio/kustomization.yaml @@ -4,4 +4,4 @@ namespace: kubeflow resources: - ../base/ -- istio-authorization-policy.yaml \ No newline at end of file +- istio-authorization-policy.yaml diff --git a/contrib/seaweedfs/test.sh b/contrib/seaweedfs/test.sh index bff87f0abe..f55ca2135e 100755 --- a/contrib/seaweedfs/test.sh +++ b/contrib/seaweedfs/test.sh @@ -6,7 +6,7 @@ kubectl create ns kubeflow || echo "namespace kubeflow already exists" kubectl get -n kubeflow svc minio-service -o=jsonpath='{.metadata.annotations.kubectl\.kubernetes\.io/last-applied-configuration}' > svc-minio-service-backup.json kustomize build istio/ | kubectl apply --server-side -f - kubectl -n kubeflow wait --for=condition=available --timeout=600s deploy/seaweedfs -kubectl -n kubeflow exec deployments/seaweedfs -c seaweedfs -- sh -c "echo \"s3.configure -user minio -access_key minio -secret_key minio123 -actions Read,Write -apply\" | /usr/bin/weed shell" +kubectl -n kubeflow exec deployments/seaweedfs -c seaweedfs -- sh -c "echo \"s3.configure -user minio -access_key minio -secret_key minio123 -actions Read,Write,List -apply\" | /usr/bin/weed shell" kubectl -n kubeflow port-forward svc/minio-service 8333:9000 echo "S3 endpoint available on localhost:8333" &