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

Document using local helm charts #477

Closed
basilboli opened this issue Sep 28, 2021 · 3 comments · Fixed by #496
Closed

Document using local helm charts #477

basilboli opened this issue Sep 28, 2021 · 3 comments · Fixed by #496
Assignees

Comments

@basilboli
Copy link
Contributor

basilboli commented Sep 28, 2021

Hi reckoners,
I have use case when I build custom helm chart on the fly and I want to deploy it directly to kubernetes without publishing it to any helm chart repository.

It works ok with helm command

helm upgrade foochart path/to/local/chart/baz.tgz

where path/to/local/chart/baz.tgz is locally built helm chart.

If we want to do the same with reckoner, the only way I made it work is to publish the chart to the local chart repository and then re-pull it.

I would be glad to contribute if you believe this can be useful and is aligned with the new features roadmap.

@sudermanjr
Copy link
Member

You can definitely do that currently!

Looking at the docs, it's not well (or at all) documented currently, so here's an example:

Given the file structure:

├── charts
│   └── test-chart
│       ├── Chart.yaml
│       ├── charts
│       ├── templates
│       │   ├── NOTES.txt
│       │   ├── _helpers.tpl
│       │   ├── deployment.yaml
│       │   ├── hpa.yaml
│       │   ├── ingress.yaml
│       │   ├── service.yaml
│       │   ├── serviceaccount.yaml
│       │   └── tests
│       │       └── test-connection.yaml
│       └── values.yaml
└── course.yml

This is the course.yml that will deploy that chart.

namespace: ns 
charts:
  my-release-name:
    chart: test-chart
    version: ""
    namespace: ns
    repository: ./charts

@sudermanjr sudermanjr changed the title Using local helm charts Document using local helm charts Sep 28, 2021
@sudermanjr
Copy link
Member

I made this issue into a documentation issue, so that we can get it added to the docs.

Thanks!

@basilboli
Copy link
Contributor Author

Thanks @sudermanjr for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants