Declarative (principle)
The first GitOps principle: a system managed by GitOps must have its desired state expressed declaratively.
In more detail
It rules out procedures such as scripts of commands as the source of truth. Helm charts and Kustomize overlays qualify, because what they produce is declarative.
Related terms
- declarative description — A configuration that describes the desired operating state of a system without the procedures for reaching it.
- GitOps — Operating a system by keeping its desired state in Git and letting a controller continuously make the live system match it.
Taught in
- Seven Steps Called GitOps: The Declarative Principle — Certified GitOps Associate (CGOA) Exam Prep
- Three Teams, Three Formats: Manifests And Packaging — Certified GitOps Associate (CGOA) Exam Prep