Closed KfreeZ closed 1 week ago
Thanks @irisdingbj 's contribution to this PR. But I didn't include the router changes Iris, it seems has some problem also failed the router unit tests. So I remove that part for further discussion.
@zhlsunshine I also changed part of the code of patch the environment, because I remove the dynamicClient from the code, as a result, the code becomes simpler. maybe you want to review that part. and we also might need to review whether it will be fine for env patching since the applyResourceToK8s to takes more time than before.
@zhlsunshine I also changed part of the code of patch the environment, because I remove the dynamicClient from the code, as a result, the code becomes simpler. maybe you want to review that part. and we also might need to review whether it will be fine for env patching since the applyResourceToK8s to takes more time than before.
Hi @KfreeZ, sure, we can validate it together for this.
@zhlsunshine @irisdingbj @mkbhanda After checking with Huailong, I think this PR is clear. Please review again. If you merge it, please squash and merge, there are many commits in it, squash will make it cleaner. the squashed commit message would be :
1. if GMC has defined the service name, replace the service name in the manifests with the GMC's defined service name and replace the deployment name with "GMC's defined service name" + "-deployment"
2. remove dynamicClient from code, this could help the UT issue
3. set 1min timeout for error provisioning resources to k8s
4. avoid double reconciling when GMC is setting a graph's status
5. reconcile router if GMC spec is changed, previously router don't change if it is existing
Description
Issues
n/a
.Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
'n/a'
Tests
controller logs