Closed chrisc66 closed 3 years ago
Additional information on licensing.
The current helm chart template is created by the helm CLI with this command:
helm create CHART_NAME
The documentation for helm
and helm create
https://helm.sh/docs/
https://helm.sh/docs/helm/helm_create/
If there is any concern about the license, the helm
CLI repo is using Apache 2.0. Everything generated by the helm CLI should be also under the same license, including the chart template and we can add other licenses on top.
https://github.com/helm/charts/blob/master/LICENSE
As discussed in https://github.com/eclipse/openj9/issues/11587, I will first create a separate PR that stores the binary helm charts in a separate branch. Then remove binary charts and update helm repo URL in README in this PR.
I have pushed the latest commit with helm repo URL and removed binary charts from this PR. Before merging this PR, I would like to create a new branch helmcharts
in openj9-utils that stores binary helm charts. Since the latest commit sets https://raw.githubusercontent.com/eclipse/openj9-utils/helmcharts/
as the helm repo, which doesn't exist before creating the helmcharts
branch.
I created a new branch in my personal forked repo, however not able to create a new branch in this upstream repo. https://github.com/chrisc66/openj9-utils/tree/helmcharts
@chrisc66 I created the "helmcharts" branch
Thanks, created a new PR into helmcharts
branch. Please review and merge #11, then I will double check the helm repo URL for the final round before merging this PR.
As discussed in the helm chart issue, let's take the GitHub release approach and I have added index.yaml
back. The other binary helm chart PR #11 isn't needed anymore.
In summary, this PR contains below files and includes:
$ tree helm-chart/
helm-chart/
├── index.yaml
└── openj9-jitserver-chart
├── Chart.yaml
├── enable-jitserver.md
├── README.md
├── templates
│ ├── deployment.yaml
│ ├── _helpers.tpl
│ ├── NOTES.txt
│ ├── serviceaccount.yaml
│ ├── service.yaml
│ └── tests
│ └── test-connection.yaml
└── values.yaml
helm-chart/openj9-jitserver-chart
), andindex.yaml
(helm-chart/index.yaml
) for the helm
CLII have verified hosting binary charts on GitHub release and storing index.yaml
in repo is possible and doesn't confuse helm
, which was my concern of this approach. I created a new repo to test it out, everything worked as expected. This repo is temporary and will be deleted after this PR is merged. https://github.com/chrisc66/helmcharts
Two final questions before being ready to merge.
openj9
(the main repo) release or openj9-utils
(this repo) release? The URL in index.yaml
needs to be updated once the binary chart is released. 0.24
release or later? The current chart version is 0.24.0
which is fine if included in 0.24
. Otherwise, I will need to update the chart version to 0.25
.My vote is to host the binary charts in this repo. See also https://github.com/eclipse/openj9/issues/11587#issuecomment-760237740. They will be hosted by attaching them to an Issue/PR. Just drag and drop them to the Issue/PR to get a link.
Thanks for the above suggestion, the binary helm chart (tar.gz) has been uploaded to the PR description at the top of this page.
Looks like all issues are solved for now. Once the CQ is done, this PR should be ready to be merged. Please let me know if there are other concerns.
I created an Eclipse CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=22984
CQ was approved: "--- Comment #3 from Shawn Kilpatrick shawn.kilpatrick@eclipse-foundation.org 2021-01-21 08:27:33 --- We have completed a high level triage of the attachment and you may now check the content into your project’s source code repository."
I am ok with this HelmChart PR. @DanHeidinga I'll be waiting for your approval before merging.
Some minor nitpicks and two questions about licensing. The licensing questions should be resolved before committing but the nitpicks can be handled separately if that's easier
@DanHeidinga Dan, if you are ok with the latest changes from @chrisc66 , could you please approve this PR? Thank you
As a continuous part of JITServer technology deployment discussion, this PR contains the OpenJ9 JITServer Helm Chart that allows JITServer instances to be deployed and managed on K8s and OpenShift clusters.
This PR includes:
/helm-chart/openj9-jitserver-chart
: helm chart for deploying JITServer technology/helm-chart/index.yaml
: serves as a helm repo that allows the helm CLI to download pre-packaged helm chart (tgz file) through GitHub releases URL.Reference: https://github.com/eclipse/openj9/issues/9443
Signed-off-by: Chris Chong Zichun.Chong@ibm.com