Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Add manifest-generating API for installation #2

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented Aug 6, 2019

Similarly to fluxcd/flux#2287 , this PR allows other Go programs to generate the Kubernetes manifests necessary to install the helm operator.

I plan to incorporate this into fluxctl install --with-helm-op

@2opremio 2opremio requested a review from hiddeco August 6, 2019 14:31
@hiddeco
Copy link
Member

hiddeco commented Aug 6, 2019

Is the .tmpl.tmpl for the template files on purpose?

@2opremio 2opremio force-pushed the install-api branch 3 times, most recently from 51b3faa to 95dd2f5 Compare August 6, 2019 14:38
@2opremio
Copy link
Contributor Author

2opremio commented Aug 6, 2019

No, it was unintentional. You are quick, it took me a couple of minutes to remove them :)

@2opremio
Copy link
Contributor Author

2opremio commented Aug 6, 2019

I am going to need to tweak this further in order to support TLS. I can do it in another PR. @hiddeco thoughts?

@hiddeco
Copy link
Member

hiddeco commented Aug 6, 2019

@2opremio I won't be able to review this until tomorrow. Can you work in a separate PR without this being merged?

@2opremio
Copy link
Contributor Author

2opremio commented Aug 6, 2019

I won't continue working on this until tomorrow anyways

@hiddeco
Copy link
Member

hiddeco commented Aug 7, 2019

Code looks alright to me (it is more or less the same as the existing code in the Flux codebase).

One thing I noticed though is that you did not add the vfsutil package to pkg/tools.go, is this on purpose or did you forget to add it?

@2opremio
Copy link
Contributor Author

2opremio commented Aug 7, 2019

I forgot. Adding it right away.

@hiddeco hiddeco force-pushed the prepare-helm-op branch 3 times, most recently from 87f0a34 to e6ea8c5 Compare August 7, 2019 15:34
@2opremio 2opremio merged commit a01d8ce into fluxcd:prepare-helm-op Aug 8, 2019
@2opremio 2opremio deleted the install-api branch August 8, 2019 10:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants