atlas-operator
atlas-operator copied to clipboard
Fix issue where long schemas won't apply
The status.conditions.message field for atlasschema and atlasmigration custom resources has a max length of 32768 characters. After successfully applying an update, the operator inserts the full query in the "Apply response" of the status.conditions.message as part of the reconciliation process. If you have a large schema being applied, it could/will exceed this length, causing the atlasschema or atlasmigration resource to never actually show as complete / ready. This fix truncates the length of the message field when necessary to allow it to work as intended.