Review helm files structure#127
Review helm files structure#127dcaro merged 4 commits intoAzure-Samples:masterfrom mathieu-benoit:mathieu-benoit/helm-files-structure
Conversation
Signed-off-by: Mathieu Benoit <mabenoit@microsoft.com>
Signed-off-by: Mathieu Benoit <mabenoit@microsoft.com>
|
@mathieu-benoit I had a chat with @dcaro and we don't think this significant of a folder change/name/structure is worth moving forward and testing with the direction you're going. However, if you were to refactor this to a single helm chart for all of the APIs which also fixes the As it stands now, people can use |
Merge from master
|
Hi @dcaro, this PR with its associated PR Azure-Samples/openhack-devops-proctor#254 are ready for your review. Again, the goal here is to have the proper folder/files structure to be able to do |
|
@mathieu-benoit Were you going to consolidate to a single helm chart (per the previous comment) or no? |
|
Hi @dtzar, I was not sure why you are matching both requests/needs here and also mainly for these 3 reasons: 1/ more impact on the changes/refactoring/tests 2/ not following purely speaking the microservice approach where we should have one chart per service (?) 3/ It could be a future improvement to have a generic chart like your are thinking? |
|
@mathieu-benoit thanks for the work on this PR, I agree with you that we should keep one helm package per micro-service. |
|
Best practice is to have a single helm chart if they all use the same structure (which all of them do). This keeps the APIs deployed in a consistent manner and allows easier updates/maintenance to the helm charts. All that said, yes technically there is no problem keeping separate helm charts. Our thinking was that to do all the effort you've done to rename/move and then test, it would make sense to just consolidate to a single chart for all the APIs and then test. |
|
@mathieu-benoit I just ran an automated deployment end to end and this worked. I will merge on Friday to not interfere with an ongoing event this week. |
Purpose
Review the helm files structure to be compliant with the recommendation, especially where the name of subfolder of each chart should be equal to the
namefield in theChart.yamlfile - https://docs.helm.sh/developing_charts/#the-chart-yaml-fileOtherwise, we are not able to do
helm package, without this we got this error:Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
What to Check
Verify that the following are valid:
helm installfromapis/poi/charts/mydrive-poistill workshelm installfromapis/trips/charts/mydrive-tripsstill workshelm installfromapis/user-java/charts/mydrive-user-javastill workshelm installfromapis/userprofile/charts/mydrive-userstill worksOther Information