mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 22:40:34 +00:00
279ca0490a42854310543f36d2d36672c8a371ca
Use the '--app-version' parameter to 'helm package' to dynamically set the chart 'appVersion' field. We can then omit the hardcoded 'appVersion' field in the Chart.yaml file. The chart 'version' field is also set by 'helm package' but we still need to define it in the Chart.yaml file since 'help dep update' requires it. The placeholder 'version' field is now set to 0.0.0 just to give it some value. For E2E, since the version fields are no longer hardcoded, it now simulates a release by running 'helm package' and extracting the tar files to HELM_REPO_LOCATION, now set to ./helm_repo. Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
submariner-charts
Please see the Helm docs on Submariner's website.
Development workflow
Prerequisites
Create a fork and checkout
Create a fork of the original repository, clone it locally and checkout a new branch from master.
Example:
git clone https://github.com/myuser/submariner-charts.git
cd submariner-charts
git checkout -b new-feature
Now you can modify the Helm charts according to your needs.
Use the modified charts
Locally-modified charts can be installed using helm install,
referring to the local path; for example:
helm install submariner-k8s-broker ./submariner-k8s-broker ...
In the base directory of this repository, a local deployment using the local charts can be obtained by running the following command:
make deploy
This will start two kind clusters and deploy Submariner using the Broker and Operator charts.
make e2e
will run the end-to-end test suite used to validate that Submariner is working correctly.
Languages
Shell
47.9%
Go Template
19.2%
Makefile
19%
Go
13.9%