how can I adjust the default flags passed into a h...
# 🤖|ask-kapa
s
@microscopic-river-74022 how can I adjust the default flags passed into a helm deployment
m
Please stand by @swift-spring-8620 as I search the knowledge base. I normally take about 20 seconds or so. :wave:
---------------------- You can adjust the default flags passed into a Helm deployment in Garden by modifying the
spec
field in your Garden configuration. For instance, you can set the
--atomic
flag during installs and upgrades by setting the
atomic
field under
spec
to
true
. This will revert the changes applied if there's a failure. If you want to see more information about failures and then manually roll back, you can set
atomic
to
false
. This prevents Helm from automatically reverting changes on failure. Here's an example:
Copy code
yaml
kind: Deploy
type: helm
name: helm-deploy
...
spec:
  atomic: true
Source () You can also provide values to the Helm chart via the
spec.values
field. This will create a new YAML with the supplied values and pass it to Helm when rendering/deploying the chart. If you also set the
values
field in the Action configuration, the values there take precedence over both of the value files. Here's an example:
Copy code
yaml
kind: Deploy
type: helm
name: helm-deploy
...
spec:
  values:
    some:
      key: some-value
Source () Remember to replace
some.key: some-value
with your actual key-value pairs. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
message has been deleted