If you rollback to a deployment that has its pod refer to configmaps/secrets tha . . .

Allen Ho:
If you rollback to a deployment that has its pod refer to configmaps/secrets that have been deleted will it restore those configmaps/secrets?

My concern is our cluster is building up with too many cm/secret versions if we dont delete them

Fernando Jimenez:
A rollback only means that the deployment knows how to use the replicaset that it was given for that selected rollout. If configmap or secrets do not exist it will fail.