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

Using Argo CD and Kustomize for ConfigMap Rollouts

Blog post from Codefresh

Post Details
Company
Date Published
Author
Christian Hernandez
Word Count
943
Language
English
Hacker News Points
-
Summary

Kubernetes ConfigMaps are used to store configuration information for applications, similar to Kubernetes Secrets, but they do not automatically trigger application rollouts when updated. This limitation can be addressed using tools like Reloader, Configurator, or the native Kubernetes framework Kustomize, which allows for the updating of application configurations and triggering rollouts by modifying annotations. The article illustrates how commonAnnotations in Kustomize can be employed to automate deployment rollouts when a ConfigMap is changed, ensuring applications read new configurations without manual intervention. The process can be managed through a GitOps workflow using Argo CD, which synchronizes changes from a Git repository, thereby automating configuration updates and application rollouts while maintaining adherence to organizational policies. Additionally, the blog encourages readers to explore further learning resources on Argo CD and GitOps provided by Codefresh.