Closed umarhussain15 closed 6 months ago
We should also update this zookeeper chart dependency. It's 2 major versions behind.
We're running with the latest bitnami zookeeper docker image, so i know that's safe but perhaps we should also update the chart dependency?
I have added helm-chart-version-match
in Makefile which is now called with test
and test-with-vendor
. It will fail if there is a mismatch between helm chart version
value under /helm
directory
any concerns @juldrixx ?
Hi @juldrixx,
the zookeeper chart will be packaged inside the nifi-cluster chart. Running make helm-pacakge
in the pipeline generates the tgz
file in which the under charts folder the zookeeper template files are present.
So access to bitnami chart repo will only be required during pipeline generating the helm chart package. Users of the nifi-cluster
will only need access to oci://ghcr.io/konpyutaika/helm-charts
.
You can check the content of the packaged helm chart for this PR:
make helm-pacakge
generates nifi-cluster-1.6.0.tgz
tar -tvf nifi-cluster-1.6.0.tgz --wildcards 'nifi-cluster/charts/zookeeper/*'
lists all the templates present for zookeeperSo this is effectively just removing it from version control, which i'm on board with and it simplifies maintenance of the dependent chart!
Okay, this all looks good to me. I think @juldrixx 's concern is addressed: The zookeeper chart is still bundled (for airgap purposes), but the bundling is performed by make
at release time and will not be maintained in version control from now on.
@umarhussain15 : Can you please update the CHANGELOG
with the changes/additions you've made?
What's in this PR?
This PR is mostly refactoring the helm chart
nifi-cluster
.helm/nifi-cluster/charts/zookeeper
since we get the zookeeper chart via dependencies fromChart.yaml
and that will be packaged withnifi-cluster
.webProxyHosts
value substitution in nifi-cluster.yaml is fixed to convert it to yaml so it is yaml array instead of spaced values. The default value is fixed to array in values.yaml as well.nifi-cluster.yaml
is refactored to remove extra lines in the output.Checklist