Home / Companies / Codefresh / Blog / Post Details
Content Deep Dive

Using GitOps for Databases

Blog post from Codefresh

Post Details
Company
Date Published
Author
Kostis Kapelonis
Word Count
1,237
Company Posts That Month
3
Language
English
Hacker News Points
-
Post removed?
No
Summary

Database migrations can be managed using GitOps principles, similar to application source code, by employing tools like Atlas and Kubernetes operators to automate and control database changes. The Atlas Kubernetes operator enables the GitOps approach by introducing Custom Resources Definitions (CRDs) that describe the actions required for database migrations and apply these changes in a controlled manner. Integrating the operator with Atlas Cloud provides enhanced visibility and management capabilities, such as viewing migration histories and affected databases, while also supporting the encryption and storage of sensitive information like database credentials as Sealed Secrets. Although challenges exist, such as handling pre-existing SQL files within Kubernetes YAMLs, the approach offers a comprehensive method to manage database migrations alongside other Kubernetes applications, using tools like Codefresh to streamline the process and ensure everything is version-controlled and traceable.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 15 1,114 159 70 -22%
Secrets Management 6 525 94 58 -33%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.