Import existing API definitions and convert to CRDs #263
-
Expected BehaviorOften users will have existing Tyk deployments either in different environments to those using the Operator or in existing Tyk deployments where the operator is to be onboarded. To move to the operator a user must manually create the CRDs which can be an onerous task. We should be able to import an existing API definition and where possible template it onto a new CRD and pass that back. Preferably just as a CLI command for automation. The dashboard may then import the package that does this work and export CRDs from our Cloud and On premise API Managers. Current BehaviorNo real solution to this currently. Possible SolutionOne option is to use Go templating to pass values from an inputted API definition JSON and create a CRD |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
notes CRD nameswe can't directly use Linked API'sFor looping, we should dismantle API IDWhatever whatever is decided on the CRD name above, will be combined with the supplied namespace , so we completely ignore PoliciesThe exports should be of both policies and api definitions to allow cross referencing of resources .... etc |
Beta Was this translation helpful? Give feedback.
-
Just a quick update - this is being addressed here: #481 |
Beta Was this translation helpful? Give feedback.
Just a quick update - this is being addressed here: #481