How to add sidecar container with git sync to wordpress helm deployment? How to add sidecar container with git sync to wordpress helm deployment? kubernetes kubernetes

How to add sidecar container with git sync to wordpress helm deployment?


In the ReplicaSet manifest, containers is a list. You can add sidecars by adding more containers to that list.

Since you're trying to sync some static assets, you might find that an init container is the better choice, since it'll complete before your main container starts.