-
Notifications
You must be signed in to change notification settings - Fork 520
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
Provide a helm chart package #594
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
FYI - I won't be able to review this until mid next week. |
I have not used Helm charts so I am ramping up on what they all entail, so I might be asking basic questions. Looking at these: Question: We wouldn't need to change the "release" of Garnet would we? https://github.com/microsoft/garnet/blob/main/.azure/pipelines/azure-pipelines-external-release.yml Also ... where is the helm chart version and application version? We would have to increment those manually, right? |
No, indeed.
The helm chart version and the application version (the tag of the docker/oci image) are in the Chart.yaml file. |
Update the comment here to indicate what we need to change as part of every Garnet release: |
@babykart - ping on this. |
@badrishc Sorry but I wasn't notified on your previous comment. |
I saw this comment "update \charts\garnet\Chart.yaml (~line 5 & 6) and generate \charts\garnet\README.md with helm-docs --
|
Signed-off-by: babykart <[email protected]>
Fixed by 683744f
https://github.com/microsoft/garnet/blob/main/charts/garnet/Chart.yaml#L5-L6
https://github.com/microsoft/garnet/blob/main/charts/garnet/Chart.yaml#L5-L6 |
Thanks for your quick response. For this part "and generate \charts\garnet\README.md with helm-docs." what does that all entail? Would the process (as you see it) be:
|
On a first iteration and with the aim of having the helm chart process integrated by the teams, I imagined the following process:
Actually, the helm chart only implements a standalone deployment but tomorrow we decide to merge a PR that implements the cluster deployment and obviously we want to really release the helm chart (version: 1.0.0):
Once the helm chart is considered by the teams as a finalized release, we could configure a workflow doing 1), 2) & 3) after the successful docker workflows for every new Garnet release. |
Thanks for the extra info. This is not as straight forward to me as I originally thought it would be. The big hurdle is I don't know Helm Chart and I will have to install and learn it. Therefore, I can't approve this at this point. I will try to find time in the coming days to understand things better. |
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
Signed-off-by: babykart <[email protected]>
@darrenge Should i consider this PR as abandoned? |
We definitely still want this functionality as it appears many people use Helm charts in open source. Do you think this PR does everything necessary for Helm chart support in Garnet (with automated updates when main is updated), or is there more work to be done. There isn't anyone yet on the team with expertise in this so we will have to depend on OSS contributors such as yourself for now. Thanks! |
Sorry - I didn't see the question in this PR. I agree with what Badrish is saying. |
The process could be something like the following:
1 - new release of garnet
2 - increment the helm chart version (chart version and application version)
3 - generate the README.md using the command
helm-docs charts/garnet
4 - commit and push to the main branch will trigger the helm-chart github workflow that will package the chart and push it to the helm-charts subdirectory in the Microsoft namespace of the github registry.
From my point of view, there is still a documentation page missing that recalls the commands of the README.md and calls the link to the description of the values.
PS - Feel free to update ...