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

Packaging the helm chart into Terraform + Kubernetes #320

Closed
jdmcd opened this issue Feb 12, 2022 · 6 comments
Closed

Packaging the helm chart into Terraform + Kubernetes #320

jdmcd opened this issue Feb 12, 2022 · 6 comments
Assignees
Labels
deployment question Further information is requested

Comments

@jdmcd
Copy link

jdmcd commented Feb 12, 2022

Hi there,

Really excited to use OpenReplay! We are trying to package the Helm chart up so that it can be deployed using our Terraform infrastructure into our Kubernetes cluster. It's unclear what link I should direct Helm to - the docs say to download it locally, but the Helm provider requires either a Helm Repository or a link to a zipped provider file. Does OpenReplay host either of those?

Thanks!

@estradino estradino added deployment question Further information is requested labels Feb 12, 2022
@rjshrjndrn
Copy link
Contributor

rjshrjndrn commented Feb 14, 2022

Hi, @jdmcd Thanks for opening this issue.
We've a roadmap to release helm as a standalone package rather than git clone. But it'll take some time. But for your specific is there any other way of integrating this? for example shell module to clone and use helm package command to pack it locally, and use that package to install the app?
Or is there any way to point to a local file system or git repo path ?
This is a workaround. As I told release as helm charts are in pipeline, and will be available in coming releases.

This might shed some light on that
hashicorp/terraform-provider-helm#189

@jdmcd
Copy link
Author

jdmcd commented Feb 14, 2022

Thanks @rjshrjndrn! Local seems to be off to a good start, but now I'm getting this error:

Error: template: openreplay/charts/utilities/templates/deployment.yaml:42:32: executing "openreplay/charts/utilities/templates/deployment.yaml" at <.Values.global.s3.region>: nil pointer evaluating interface {}.region

Any ideas?

@jdmcd
Copy link
Author

jdmcd commented Feb 14, 2022

I tried setting global.s3.region and the error goes away, but then it's replaced with:

Error: template: openreplay/charts/utilities/templates/deployment.yaml:44:21: executing "openreplay/charts/utilities/templates/deployment.yaml" at <eq .Values.global.s3.endpoint "http://minio.db.svc.cluster.local:9000">: error calling eq: incompatible types for comparison

@rjshrjndrn
Copy link
Contributor

rjshrjndrn commented Feb 14, 2022

check this file out. There are some shared state b/w database and application layer, which is centralized in this file.
https://github.com/openreplay/openreplay/blob/main/scripts/helmcharts/vars.yaml

Installation happens like this
https://github.com/openreplay/openreplay/blob/main/scripts/helmcharts/init.sh#L86-L89

@jdmcd
Copy link
Author

jdmcd commented Feb 15, 2022

Gotcha - thanks. I think I am going to explore the standalone AWS deployment option

@jdmcd jdmcd closed this as completed Feb 15, 2022
@roshan1988
Copy link

Do we still have it in the roadmap to have helm as a standalone package ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants