Is "we keep our Kubernetes YAML in Git and CI runs `kubectl apply`" GitOps?
BeginnerConceptGitOps Principles & Delivery Models
Answer
Not by the OpenGitOps definition. It is declarative and versioned, but it is pushed, not pulled, and nothing reconciles between pipeline runs. If someone runs kubectl edit in production, the change stays until the next deploy, and nobody is told. It is "infrastructure as code with CI", a good step, but you lose drift detection and you keep powerful credentials in CI.
More on GitOps Principles & Delivery Models
What is GitOps, in one or two sentences?BeginnerWhat are the four OpenGitOps principles?BeginnerExplain push-based vs pull-based deployment.BeginnerWhat are the main benefits of GitOps that you would pitch to a team?BeginnerWhat are the honest downsides or pain points of GitOps?IntermediateWhat does "drift" mean in GitOps, and how is it handled?Beginner