proud-river-11384
09/22/2023, 9:24 PMapi-deployment.yaml
worker-deployment.yaml
Initially I'm trying to only deploy the worker, so I added an exclude clause in my garden.yaml for the helm deployment:
exclude:
- 'api-deployment.yaml'
This works at excluding the file; I can see in the debug logs Found 5 files in Deploy action worker-deploy root /Users/mark/workspace/policies/.k8s/helm
, 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?quaint-dress-831
09/25/2023, 10:36 AMgarden deploy --force-refresh
?
- 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 helm
action. That would work.proud-river-11384
09/25/2023, 10:41 AMquaint-dress-831
09/25/2023, 2:52 PM