proud-river-1138409/22/2023, 9:24 PM
Initially I'm trying to only deploy the worker, so I added an exclude clause in my garden.yaml for the helm deployment:
This works at excluding the file; I can see in the debug logs
exclude: - 'api-deployment.yaml'
, where previously it found 6. However, the deployment still attempts to deploy the api application. I'm assuming this is something to do with how Helm works and is called under the hood. Is there a way to do what I'm trying to do? Maybe it's just too far outside of a reasonable usecase?
Found 5 files in Deploy action worker-deploy root /Users/mark/workspace/policies/.k8s/helm
quaint-dress-83109/25/2023, 10:36 AM
? - are there any dependencies between the two inside your Helm chart? - finally, you could write in a Helm value that conditionally wraps the the API deployment, then pass in that key to the
garden deploy --force-refresh
action. That would work.
proud-river-1138409/25/2023, 10:41 AM
quaint-dress-83109/25/2023, 2:52 PM