Skip to content

feat(cogstack-cohorter): Add helm chart for cogstack-cohorter#75

Open
jocelyneholdbrook wants to merge 3 commits intomainfrom
feat/cohorter/add-helm-chart
Open

feat(cogstack-cohorter): Add helm chart for cogstack-cohorter#75
jocelyneholdbrook wants to merge 3 commits intomainfrom
feat/cohorter/add-helm-chart

Conversation

@jocelyneholdbrook
Copy link
Copy Markdown
Contributor

No description provided.


- name: Add Helm repositories
run: |
helm repo add ollama https://otwld.github.io/ollama-helm/
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add these to .github/workflows/linters/ct.yaml, to keep it consistent

@@ -0,0 +1,27 @@
apiVersion: v2
name: cogstack-cohorter
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for the warning - I believe that this will publish to cogstack-cohorter in dockerhub, and you have to put the name in here to cogstack-cohorter-helm if you want it to go there.

I think you're lucky for cohorter that you dont have one image that already has the name taken, so I'm fine if you want to publish the helm chart to cogstack-cohorter.

For detail, I think the pattern is that companies have a separate helm organisation in dockerhub is how they get away with nice names.

I could 100% be wrong on this though! I'd love to be corrected and it let me use nicer names for everything.

Copy link
Copy Markdown
Collaborator

@alhendrickson alhendrickson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved if you want to merge it and publish it out.

I think the main comment would be if you can redo some based on the output of helm create .., which should generate a bunch of other stuff like the test, httproute etc. Convention seems to be keep it all super standardised


- Kubernetes 1.21+
- Helm 3.10+
- A storage class that supports `ReadWriteOnce` PVCs
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd probably remove this line, like I'd assume k8s has RWO

pathType: ImplementationSpecific
tls: []

autoscaling:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move under the webapp?

global:
imagePullSecrets: []

nameOverride: ""
Copy link
Copy Markdown
Collaborator

@alhendrickson alhendrickson Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey for all these -

Can you update the values.yaml, to match the original one that helm create would generate? Basically looking to get all the comments and stuff exactly as they are from the default generated one

{{- end }}
{{- end }}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you regenerate this one from the helm create .. command instead? It shouldnt need all the (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} stuff and be a lot simpler here.

Potentially you should update helm, if you think it is from there already? I have 4.1.4, from the dev container setup.

I'd want to keep everything as default and standard as possible

Copy link
Copy Markdown
Collaborator

@alhendrickson alhendrickson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well - I'd approve if it passed the check anyway!

------------------------------------------------------------------------------------------------------------------------
==> Logs of container cogstack-cohorter-helm-z581pqgk5y-webapp-58587cd997-fcndf
------------------------------------------------------------------------------------------------------------------------
[webapp] ERROR: No data found at /usr/src/app/server/data.
[webapp] Mount a directory containing snomed_terms.json (and related files)
[webapp] or snomed_terms_data.tar.gz via a Docker volume:
[webapp]   -v /your/data:/usr/src/app/server/data

@alhendrickson
Copy link
Copy Markdown
Collaborator

You can add a file like your-chart/ci/ci-values.yaml to set a value for the github check to use

I'm, thinking its this one?

  env:
    RANDOM_DATA: "false"

I think the file suffix must be *-values.yaml, and you can put multiple files in if you have different scenarios to test.

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.

2 participants