kubeflow / spark-operator

Kubernetes operator for managing the lifecycle of Apache Spark applications on Kubernetes.
Apache License 2.0
2.75k stars 1.36k forks source link

If I specify `mainApplicationFile: http://<some_url>` and the url has basic auth, how do I specify the credentials #2130

Open m-gavrilyuk opened 1 month ago

m-gavrilyuk commented 1 month ago
          If I specify `mainApplicationFile: http://<some_url>` and the url has basic auth, how do I specify the credentials

Originally posted by @Nj-kol in https://github.com/kubeflow/spark-operator/issues/350#issuecomment-1693173161

ChenYi015 commented 1 month ago

@m-gavrilyuk Have you tried http://user:password@host/path/to/file? This is not safe, but might work. Ref: https://spark.apache.org/docs/latest/submitting-applications.html#advanced-dependency-management.

m-gavrilyuk commented 1 month ago

@m-gavrilyuk Have you tried http://user:password@host/path/to/file? This is not safe, but might work. Ref: https://spark.apache.org/docs/latest/submitting-applications.html#advanced-dependency-management.

Yes I tried This doesn't work