mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 18:00:35 +00:00
75074350ef94355eef59b641f67ba239d9199eec
...from submariner-operator in lieu of using Go embed functionality. The charts project needs to obtain the RBAC and CRD yaml files from the submariner, submariner-operator and mcs-api projects. To achieve this, define a simple Go file that statically references the packages containing the desired embed.go and yaml files. The generate-yamls.sh script uses 'go mod' commands to create the go.mod file and vendor directory, which also downloads the yaml files. 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%