-
Notifications
You must be signed in to change notification settings - Fork 856
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
add EnvBinding Controller for Multi cluster deploy and Configuration Management #1968
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1968 +/- ##
==========================================
+ Coverage 63.78% 63.91% +0.13%
==========================================
Files 152 158 +6
Lines 14512 14892 +380
==========================================
+ Hits 9256 9518 +262
- Misses 4336 4412 +76
- Partials 920 962 +42
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
6a5dc97
to
9c298e4
Compare
743ace1
to
69af9f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good job
3e82395
to
8cc96d6
Compare
a52741d
to
46e1d19
Compare
…Management (kubevela#1968) * patch env configuration * add e2e-test
What this PR does / why we need it:
this PR add EnvBinding Controller for Multi cluster deploy and Configuration Management.
Now EnvBinding Controller default support use OCM as multi-cluster engine. In the future, we will support other multi-cluster solutions such as karmada etc.
Suppose you have deploy KubeVela in your controller-plane cluster and have use OCM to register multiple ManagedCluster.
You have a ManagedCluster called
kind-cluster1
$ kubectl get managedclusters.cluster.open-cluster-management.io NAME HUB ACCEPTED MANAGED CLUSTER URLS JOINED AVAILABLE AGE kind-cluster1 true https://hub-control-plane:6443 True Unknown 10h
And have labeled ManagedCluster with
purpose: test
.Then you can define an EnvBinding object as follow:
The EnvBinding Controller will store the manifest of different envs to ConfigMap.
Which issue(s) this PR fixes:
Fixes #1881
Special notes for your reviewer: