[Airship-discuss] Divingbell overrides functionality regression - Assistance needed

ANDERSON, CRAIG ca846m at att.com
Thu Feb 28 05:37:26 UTC 2019

My best guess would be a change in the Sprig library between the Helm versions. In particular, the deep merge responsible for recursively merging the dictionaries together.

Merge is called here in the gotpl:

Which calls this function defined here in Sprig library:

Which in turn leverages another third party library:

I see this commit where version of mergo was updated from 0.2.2 to 0.3.7, and added a new mergeOverwrite function to Sprig:

My guess is that mergo library may have decided to move this override behavior into a new function (mergeOverwrite), and in the process broke backwards compatibility with the existing merge function. I would suggest trying to replace all `merge` with `mergeOverwrite` in `_daemonset_overrides.tpl` and see if this resolves the issue.


-----Original Message-----
From: Roman Gorshunov [mailto:paye600 at gmail.com] 
Sent: Wednesday, February 27, 2019 8:07 AM
To: airship-discuss at lists.airshipit.org
Cc: ANDERSON, CRAIG <ca846m at att.com>
Subject: Divingbell overrides functionality regression - Assistance needed

Hello team,

I'm seeking for advices and assistance in resolving broken overrides in Divingbell.

They do not work since Helm version update. More specifically, secrets with scripts for configuration changes get generated identical (as `default`).
Details I have are collected in this Story:
including some help on how to reproduce the issue and test different versions.

Thank you.

Best regards,
-- Roman Gorshunov

More information about the Airship-discuss mailing list