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

Helm chart to deploy OPA #1035

Closed
tsandall opened this issue Oct 25, 2018 · 10 comments
Closed

Helm chart to deploy OPA #1035

tsandall opened this issue Oct 25, 2018 · 10 comments

Comments

@tsandall
Copy link
Member

tsandall commented Oct 25, 2018

Some users have asked whether we have a Helm chart for OPA. As far as I know, today the answer is no. It would be useful to create a Helm chart that (minimally) could be used for the admission control use case on top of Kubernetes. I haven't worked with Helm before, so I don't know if there are gotchas.

  • Should the helm chart require a cert (which is required in the admission control use case)?
  • Should the helm chart assist in registering OPA as an admission controller?
  • Should users be able to manage policies via Helm? We can probably defer this one for now.

In the admission control use case, some users have requested that OPA be scheduled onto the master node(s). The Helm chart must not preclude this.

@nrshrivatsan
Copy link

For the Policy Store, given OPA has support for S3, I propose using minio.io for a Cloud-Native helm.sh for OPA!

@srenatus
Copy link
Contributor

It might be a bit of a digression, but I'd be happy to contribute a Habitat plan for OPA. From that, we could, among other things, export a helm chart. ("Habi-what?" 👉 https://habitat.sh)

@tsandall
Copy link
Member Author

@srenatus having a Habitat plan for OPA would be cool. I'm not familiar with Habitat so I don't know what the Helm output would look like. I'd like the Helm chart to be as clear/idiomatic as possible--I think we should start with writing one from scratch, but we can always revisit that in the future.

@srenatus
Copy link
Contributor

having a Habitat plan for OPA would be cool.

🎉 core/opa

I certainly agree with being as idiomatic as possible with the helm chart. So, this just adds another deployment option, and it happens to fill a need I had 😄

@tsandall
Copy link
Member Author

@srenatus cool! do you mind if I put a link to the habitat plan in the contrib repo README?

@srenatus
Copy link
Contributor

@tsandall not at all! thank you 😃

@tsandall
Copy link
Member Author

Ref: helm/charts#8915

@gtaylor
Copy link

gtaylor commented Nov 1, 2018

I haven't forgotten about this, btw. Will try to get a first pass done on the Chart PR tonight or tomorrow.

@tsandall
Copy link
Member Author

tsandall commented Nov 2, 2018

@gtaylor sounds good. Just FYI, I've updated the chart PR so that by default it'll pull down a policy from openpolicyagent.org that you can kick the tires with.

@tsandall tsandall added this to Done in Open Policy Agent Dec 19, 2018
@tsandall
Copy link
Member Author

This has been merged into the upstream helm repo. helm/charts#8915

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

No branches or pull requests

4 participants