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

Restructure Helm related docs #1357

Merged
merged 8 commits into from
Sep 14, 2018
Merged

Restructure Helm related docs #1357

merged 8 commits into from
Sep 14, 2018

Conversation

dholbach
Copy link
Member

As discussed in #1205 (and #1178), the Helm docs are not as clear as they should be. We have

  • the flux chart README
  • a get started doc
  • an integration doc
  • an integration requirements doc
  • (and an example repo)

Almost all in different places.

This PR is a draft of how I'd like to change things:

  • one doc for the helm operator (Michael seemed to be in favour of this too)
  • one doc which explains the helm integration
  • all preferably in the same space

As I don't know all the details, it'd be good if we would review the content as well. I just juggled things around to be more condensed.

Thoughts:

  • Maybe we can explain the Helm integration in another prominent space where we detail the inner workings of Flux?
  • Maybe we can just document how to write the CRD in the flux-helm-test repo? That would slim down the docs even further.

@dholbach dholbach added the docs Issue or PR relates to documentation label Sep 14, 2018
@dholbach dholbach self-assigned this Sep 14, 2018
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, as a juggle. I agree that the "old" Helm docs need a thorough rewrite, too.
I think Stefan will have thoughts on moving content out of the Helm chart README, so let's wait for his review.

Maybe we can explain the Helm integration in another prominent space where we detail the inner workings of Flux?

Yes, this is definitely needed. I have held off doing it because I'm not sure we have the right design yet. I'm still not sure, but enough people ask about it, that's it's worth doing anyway.

Maybe we can just document how to write the CRD in the flux-helm-test repo? That would slim down the docs even further.

I think we should document it here. The example repo (ideally not flux-helm-test, which was intended just for testing that it works, is a mishmash) can be used as an example, of course.

README.md Outdated
- Operating Flux
- [Using Flux](/site/using.md)
- [the Helm Operator](/site/helm-operator.md)

This comment was marked as abuse.

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added some suggestions

- Charts are colocated under another path ("charts" by default; can be
overriden). Charts are subdirectories under the charts path.
- Custom Resource namespace reflects where the release should be done.
Both the Helm application and its corresponding Custom Resource will

This comment was marked as abuse.

metadata:
name: mongodb
namespace: myNamespace
labels:

This comment was marked as abuse.


- name
- namespace
- label.chart ... the same as chartgitpath, with slash replaced with an underscore

This comment was marked as abuse.

- chartGitPath ... path (from repo root) to a Chart subdirectory


## Optional fields

This comment was marked as abuse.

@@ -211,191 +236,4 @@ Update Weave Flux version with:
helm upgrade --reuse-values flux \
--set image.tag=1.3.2 \
weaveworks/flux
```

### Installing Weave Flux helm-operator and Helm with TLS enabled

This comment was marked as abuse.

@dholbach
Copy link
Member Author

Yes, this is definitely needed. I have held off doing it because I'm not sure we have the right design yet. I'm still not sure, but enough people ask about it, that's it's worth doing anyway.

@squaremo Do you want me to file an issue for this?

ideally not flux-helm-test

@squaremo An issue for that too?

I addressed the other remarks so far and wait for Stefan's go-ahead wrt moving some docs out of the chart README.

@dholbach dholbach changed the title WIP: Restructure Helm related docs Restructure Helm related docs Sep 14, 2018
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with the TLS setup being moved out of the Helm readme. Looks good, thanks Daniel

@dholbach
Copy link
Member Author

Thanks for the review.

I'll file separate issues to track the other bits which are still missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
docs Issue or PR relates to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants