Replies: 1 comment 4 replies
-
First, you need to make the migrations available to the operator. The easiest way is to push them to the Atlas schema registry using the "atlas migrate push". Alternatively, inline them in the spec of an AtlasMigration resource or provide them as a config map. For config map/registry you then create an AtlasMigration referencing the migration dir and the version that you want to deploy within that directory Details: https://atlasgo.io/integrations/kubernetes/operator#versioned-schema-migrations https://atlasgo.io/blog/2023/12/06/gitops-for-databases-part-1 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this backend using ent.
Now I've been getting into kubernetes.
I have installed the Atlas Operator via helm as instructed in the readme.
I'm going to build an image of the backend with ent with ko and push to my private registry.
Next the deployment and service
Now how do I use the Atlas Operator to run the migrations first, please?
Beta Was this translation helpful? Give feedback.
All reactions