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

How to deal with simple kubernetes definitions that don't have a chart #1157

Open
Vad1mo opened this issue Mar 26, 2020 · 4 comments
Open

How to deal with simple kubernetes definitions that don't have a chart #1157

Vad1mo opened this issue Mar 26, 2020 · 4 comments
Labels

Comments

@Vad1mo
Copy link
Contributor

Vad1mo commented Mar 26, 2020

This is more of a questions. There are more and more CRDs in the wild nowdays and they all come with their own CRs that of course don't come with a Chart.

If I want to keep my helm/helmfile workflow what options do I have to use and parametrize vanilla kubernetes deployment descriptors?

This is what comes into my mind if I want to do that with helmfile

  • postsync
    ❓ What about passing values from helmfile to kubernetes deployment descriptors?
  • creating a chart
    🤔 Overkill for a simple CR
  • Helm Incubator/Raw Chart
    😒 raw helm, kind of same as postsync
  • Helmfile + Kustomize

What options are also possible to accomplish the same goal?

@mumoshu
Copy link
Collaborator

mumoshu commented Mar 26, 2020

@Vad1mo Hey! I believe your list is comprehensive.

For the last bullet point, have you ever checked out "helm-x"?

With that you can extend helm to install a "kustomization" as a ad-hoc chart:

$ helm x apply myapp examples/kustomize --version 1.2.3 \
  -f examples/kustomize/values.yaml

where the example/kustomize directory would look like https://github.com/mumoshu/helm-x/tree/master/examples/kustomize

@mumoshu
Copy link
Collaborator

mumoshu commented Mar 27, 2020

FYI, you can run helmfile with helm-x by just providing the path to the helm-x binary with helmfile --helm-binary path/to/helm-x apply. See #673

@evra
Copy link

evra commented Mar 31, 2020

May be the https://github.com/helm/charts/tree/master/incubator/raw can help?

See helmfile example how to deploy raw kubernetes resource - https://github.com/cloudposse/helmfiles/blob/master/releases/oidc-role.yaml

@mumoshu
Copy link
Collaborator

mumoshu commented Mar 31, 2020

Thanks. Yes, the raw chart does help. Actually - @Vad1mo has also mentioned about the raw chart in the beginning of this issue :)

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

No branches or pull requests

3 participants