-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
None
-
False
-
-
We need to simplify the federation script because right now is doing a patch to add some security details but this is not necessary when you are setting this in multicluster:
oc1 patch -n mesh1-system smcp/fed-export --type merge -p '{"spec":{"security":{"identity":{"type":"ThirdParty"}}}}' |
In this case, we are not going to merge that patch inside because we need to reuse the script to work with the federation in the multicluster. So I'm going to add a condition to do the patch or not do the patch in case that is single cluster or multicluster