I have a service that is otherwise stateless except for one runtime configuration value, e.g. a flag like --secret-key. For each instance I want to provide a different value. Imagine I have a pool of secrets and when a new instance comes up, I'd like it to take a currently unused secret. Naturally this means there needs to be some kind of secrets lease management, heartbeating, etc.
Is this possible to configure with GCP Cloud Run? It is possible with k8s under the hood with StatefulSets, but I'm not sure if Cloud Run offers access to something like this.