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

A jk Kubernetes operator #154

Open
dlespiau opened this issue Apr 14, 2019 · 1 comment
Open

A jk Kubernetes operator #154

dlespiau opened this issue Apr 14, 2019 · 1 comment
Labels
kind/enhancement New feature or request

Comments

@dlespiau
Copy link
Member

It would be useful to be able to have a jk program in a git repository and create k8s resources from it. It could look like

  • store the jk module(s) in a ConfigMap
  • create a Custom Resource pointing at the config map, maybe with input parameters and the docker image to use to run the script with (so node_modules can be prepopulated in that image).
  • flux can sync ConfigMap and custom resource to the cluster
  • an operator would create a pod with the image defined in 2) to run jk in. We need to get the results (files) back, with a small protocol between the two
  • cluster objects need to be modified to have an ownerReference pointing a the customResource
  • create the jk-produced resources
@dlespiau dlespiau added the kind/enhancement New feature or request label Apr 14, 2019
@brandonkal
Copy link

brandonkal commented Jan 7, 2020

Have you seen this? I'd love to see jk as a templating option in that generic controller. Because jk is only a config generator (as it should be), jk should integrate there rather than building duplicate logic to handle creation and lifecycle of resources and requiring the user to interact with yet another Custom Resource and CRD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants