I'm using Kubernetes secret and configmap to manage our properties. I am using a design that keeps the property piles in a git repository and am using build server Toughtworks GO to automatically deploy it to my configmaps and secrets to my kubernetes cluster.
Right now, I've to delete the current configmap and secret to add the new ones to update:
step1: kubectl delete configmap foo
step2: kubectl create configmap foo --from-file foo.properties
Is there any other way to do this rather than deleting the old one to add new. Because it may damage the containers currently using the old configmaps if the new one hasn't been created yet.