updating a configmap/secrets in kubernetes
At work, we started using Kubernetes for stateless application. We frequently change the values of configmap/secrets especially in staging environments, however, this is still not baked in to k8s. How to do it? You have to replace a config to update it. For example, if you create a configmap like this: kubectl create configmap site-config --from-file=nginx.conf If you want to update that, you have to add the command above with...