swift-spring-8620
07/02/2024, 10:24 PMmicroscopic-river-74022
07/02/2024, 10:24 PMmicroscopic-river-74022
07/02/2024, 10:25 PMspec
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:
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:
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:
----------------------microscopic-river-74022
07/02/2024, 10:25 PM