forked from kurator-dev/kurator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Install submariner as fleet plugin (kurator-dev#660)
* feat: add submariner plugin config Signed-off-by: Tom <[email protected]> * update generated Signed-off-by: Tom <[email protected]> * add doc and example Signed-off-by: Tom <[email protected]> * fix submariner reconcile logic Signed-off-by: Tom <[email protected]> * finish operator Signed-off-by: Tom <[email protected]> * fix manifest fields Signed-off-by: Tom <[email protected]> * add field for submariner config Signed-off-by: Tom <[email protected]> * add clusterCidrs and serviceCidrs Signed-off-by: Tom <[email protected]> --------- Signed-off-by: Tom <[email protected]>
- Loading branch information
1 parent
1ebcffd
commit 130f8b4
Showing
13 changed files
with
874 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
apiVersion: cluster.kurator.dev/v1alpha1 | ||
kind: AttachedCluster | ||
metadata: | ||
name: kurator-member1 | ||
namespace: default | ||
spec: | ||
kubeconfig: | ||
name: kurator-member1 | ||
key: kurator-member1.config | ||
--- | ||
apiVersion: cluster.kurator.dev/v1alpha1 | ||
kind: AttachedCluster | ||
metadata: | ||
name: kurator-member2 | ||
namespace: default | ||
spec: | ||
kubeconfig: | ||
name: kurator-member2 | ||
key: kurator-member2.config | ||
--- | ||
apiVersion: fleet.kurator.dev/v1alpha1 | ||
kind: Fleet | ||
metadata: | ||
name: quickstart | ||
namespace: default | ||
spec: | ||
clusters: | ||
- name: kurator-member1 | ||
kind: AttachedCluster | ||
- name: kurator-member2 | ||
kind: AttachedCluster | ||
plugin: | ||
submariner: | ||
brokerCluster: kurator-member1 | ||
clusterCidrs: | ||
kurator-member1: 10.10.0.0/24 | ||
kurator-member2: 10.12.0.0/24 | ||
serviceCidrs: | ||
kurator-member1: 10.96.0.0/16 | ||
kurator-member2: 10.96.0.0/16 | ||
globalcidrs: | ||
kurator-member1: 242.1.0.0/16 | ||
kurator-member2: 242.2.0.0/16 | ||
extraArgs: | ||
ipsec: | ||
psk: $SUBMARINER_PSK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.