kevin85421 opened a new pull request #541:
URL: https://github.com/apache/submarine/pull/541


   ### What is this PR for?
   This task aims to test API generated by code-generator. (SUBMARINE-768)
   To achieve this, we should follow the following steps
   
   Step1: Register Custom Resource Defintion (CRD) "Submarine"
   Step2: Create a Custom Resource for CRD Submarine
   Step3: Test API generated by code-generator.
   
   ### What type of PR is it?
   [Feature]
   
   ### Todos
   * Implement controller pattern
   
   ### What is the Jira issue?
   https://issues.apache.org/jira/browse/SUBMARINE-770
   
   ### How should this be tested?
   ```
   # Step0: Move to submarine-cloud-v2/
   
   # 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: Run unit test
   go test
   ```
   
   ### Screenshots (if appropriate)
   
   
https://user-images.githubusercontent.com/20109646/112088423-c0d87d00-8bca-11eb-962a-19d7f13e3a49.mov
   
   
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? Yes
   


-- 
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]


Reply via email to