Kubernetes provides easy tools for rolling out and rolling back changes to Deployments and Daemonsets. However, deployments are often tightly associated with other kubernetes primitives like Secrets or Services, and I'd like to know how to do the same for those as they directly affect the running state of the app/cluster as well.
For example, if I change some ports in my service or change a Secrets-based environment variable (then restart my pods), I may break something and want to rollback the configuration to the previous version.
How can I do this most easily?