How would you create a Kubernetes Charm for more than one Deployment/Pod?

I believe by default Discourse wants you to participate a bit before sharing particular kinds of links. Sorry about the

It should be possible to have multiple containers within a single pod, it will depend whether those are logically distinct apps with a different lifecycle (thus separate pods) or pieces of the same app (thus containers in the same pod).

As for environment variables, in earlier version of the pod spec schema, this was called “config”. In v3 of the pod spec:

It is called envConfig to make it clearer that what you are passing in that block are environment variables for the runtime of the container.