Conversation
9e97d2b to
d3e721f
Compare
c17fc63 to
6817b70
Compare
stevehipwell
left a comment
There was a problem hiding this comment.
@joshuabaird this looks like a better pattern, I've added a couple of nits that may be useful.
RE the bigger picture, I think the following are worth considering.
- Don't keep the README in this repo
- Keep the README template in the helm-charts repos and generate the README as part of the PR to copy the chart there
- This will make it clearer that the chart in this repo shouldn't be used
- Don't Update Chart.yaml
versionin this repo- Keep
versionstatic (e.g.0.0.1-dev.0) - Update
appVersionas appropriate - Set the version in the PR to copy the chart to the helm-charts repo
- This will make it clearer that the chart in this repo shouldn't be used
- Keep
charts/fluent-operator-crds/templates/fluent-bit/fluentbit.fluent.io_clusterfilters.yaml
Outdated
Show resolved
Hide resolved
charts/fluent-operator-crds/templates/fluent-bit/fluentbit.fluent.io_clusterfilters.yaml
Outdated
Show resolved
Hide resolved
charts/fluent-operator/crds/fluentbit.fluent.io_clusterfilters.yaml
Outdated
Show resolved
Hide resolved
10cd285 to
6523c53
Compare
|
@cw-Guo @marcofranssen Could use some help reviewing and testing this if you have some time, please! |
|
Hi @joshuabaird i have a few questions as below:
|
Not exactly. The The
I think it's pretty clear and standard (other projects follow a similar pattern). A user can just take a look at the
No, it only includes CRDs. Usage of this chart is optional. Do you think the docs need clarifying? |
marcofranssen
left a comment
There was a problem hiding this comment.
LGTM 🚀
Good work on moving all these pieces around.
6523c53 to
aa1bc12
Compare
|
@marcofranssen @cw-Guo I've added some E2E tests (to be ran manually) to verify the V4 helm chart installation and upgrading. Also added a bit of info to the MIGRATION doc. Would you mind re-reviewing when you get a chance? |
d5b0a3b to
948650d
Compare
|
@joshuabaird I would prefer to remove the tests. There are better tools available to do chart testing. Don't really fancy maintaining all the shell scripts. E.g. see here different test cases worked out https://github.com/spiffe/helm-charts-hardened/blob/main/.github/workflows/helm-chart-ci.yaml#L312 Maybe we should move that testing approach to a new PR. |
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Rename values key from 'fluent-bit' to 'fluentbit' in fluent-operator-crds chart. Hyphenated keys cannot be accessed via dot notation in Go templates (.Values.fluent-bit.enabled is parsed as arithmetic subtraction), causing a hard parse error on helm template/lint. Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
8d39578 to
58b4298
Compare
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
This PR implements several re-factors for the initial Helm chart v4 release of
fluent-operator:crds/directory of thefluent-operatorchart to follow Helmv3 standards and best practicesfluent-operator-crdschart that enables optional advanced/out-of-band management of the fluentd and fluent-bit CRDsfluent-operatorchartfluent-bit-crdsandfluentd-crdscharts (no longer necessary since we introduced thefluent-operator-crdschart)values.yamlto be compatible withhelm-docsso we can autogenerate docs for the chart_docs.mdso it gets picked up by templating already in place over in fluent/helm-charts