-
Notifications
You must be signed in to change notification settings - Fork 873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref-objects component don't dispatch updates to managedCluster when ref-objects modified in hubCluster #4418
Comments
You need to update the application after the configmap modified to trigger the deploy happen. You can change the annotation:
|
Reference document: http://kubevela.net/docs/end-user/version-control |
i don't think this is what i want. |
@jiangshantao-dbg This is beyond the capabilities of |
Not just Configmaps. We consider to use kubevela to manage lifecycle of all the resources related to an application, such as deployment, service, istio config etc. some of this resources is shared between applications, such as service, istio config. so need ref-objects to dispatch these shared objects. create these shared objects in hub cluster, and ref-objects them in application. ref-objects component can not watch the modification of the hub cluster objects and automatically dispatch them, it does not work as we expected. |
@charlie0129 is working on this issue with the new project https://github.com/kubevela/kube-trigger |
It's supported now, refer to this tutorial for this feature: https://github.com/kubevela/kube-trigger/tree/main/examples |
Describe the bug
i use ref-objects component in my application, ref-object is created and modified in hub cluster and then dispatch to managed clusters. when application first applied, everything is ok. but when i modified the ref-object in hub cluster, i want this modification should be dispatch to managed cluster as expected, it doesn't work.
To Reproduce
Expected behavior
when ref-objects is modified, this modification should be dispatch to managed cluster defined in application without to modify application and trigger dispatching.
Screenshots
KubeVela Version
Cluster information
Additional context
The text was updated successfully, but these errors were encountered: