Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: favor maps over lists due to helm list merge limitations #48

Closed
wants to merge 3 commits into from

Conversation

lmsurpre
Copy link
Collaborator

@lmsurpre lmsurpre commented Oct 4, 2021

Originally, I went with an approach that uses lists of objects.
However, after experiencing some pain with the helm support for combining / overriding lists,
I reverted back to a map-based approach where the key-names are kind of part of the value.
This is more consistent with the approach we use in fhir-server-config anyway, and so
I went ahead and made them exactly alike so that we can just rely on helm's toJson instead of
writing our own templates for this.

NOTE: Due to the fact that the helm toYaml implementation adds properties with a value of null,
this change relies on FHIR Server versions that include the following changeset:
LinuxForHealth/FHIR#2822

Please don't merge until that is released.

Signed-off-by: Lee Surprenant lmsurpre@us.ibm.com

@lmsurpre lmsurpre changed the title favor maps over lists due to helm list merge limitations WIP: favor maps over lists due to helm list merge limitations Oct 4, 2021
Base automatically changed from lee-main to main October 5, 2021 00:56
@lmsurpre lmsurpre force-pushed the lee-main-2 branch 4 times, most recently from 6f79c97 to c51970f Compare October 7, 2021 12:14
Originally, I went with an approach that uses lists of objects.
However, after experiencing some pain with the helm support for combining / overriding lists,
I reverted back to a map-based approach where the key-names have more value.
This is more consistent with the approach we use in fhir-server-config anyway, and so
I went ahead and made them exactly alike so that we can just rely on helm's toJson instead of
writing our own templates for this.

Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
…sactionTimeout

Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
@lmsurpre
Copy link
Collaborator Author

closing this in favor of #70

@lmsurpre lmsurpre closed this Dec 20, 2021
@lmsurpre lmsurpre deleted the lee-main-2 branch May 2, 2022 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant