kevin85421 opened a new pull request #571: URL: https://github.com/apache/submarine/pull/571
### What is this PR for? Install local traefik chart via Helm golang API. traefik chart: https://github.com/apache/submarine/tree/master/helm-charts/submarine/charts/traefik Helm golang API: https://github.com/apache/submarine/blob/master/submarine-cloud-v2/pkg/helm/helm.go ### What type of PR is it? [Feature] ### Todos * port-forwarding via client-go ### What is the Jira issue? https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-805?filter=allissues# ### How should this be tested? ``` # initialization # Step1: Register Custom Resource Definition kubectl apply -f artifacts/examples/crd.yaml # Step2: Create a Custom Resource kubectl apply -f artifacts/examples/example-submarine.yaml # Step3-1: helm cd submarine helm install submarine ./helm-charts/submarine kubectl port-forward --address 0.0.0.0 service/traefik 32080:80 # Step3-2: in-cluster cd submarine/submarine-cloud-v2 eval $(minikube docker-env) make image kubectl apply -f artifacts/examples/submarine-operator-service-account.yaml kubectl apply -f artifacts/examples/submarine-operator.yaml kubectl port-forward --address 0.0.0.0 service/traefik 32080:80 # Step3-3: out-of-cluster go build -o submarine-operator ./submarine-operator kubectl port-forward --address 0.0.0.0 service/traefik 32080:80 # Step4: Check 127.0.0.1:32080 in web browser #. Username: admin / Password: admin ``` ### Screenshots (if appropriate) https://user-images.githubusercontent.com/20109646/116415503-10663480-a86c-11eb-8fff-199cc69d31c7.mov ### Questions: * Do the license files need updating? No * Are there breaking changes for older versions? No * Does this need new documentation? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
