mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-22 01:30:35 +00:00
Add an operator Helm chart
The submariner-operator Helm chart deploys Submariner using the Submariner operator: it deploys the CRDs, roles, and SAs required to run the operator and Submariner, then pushes a Submariner CR to instruct the operator to deploy Submariner. This patch also adds a Makefile to validate the deployments; run make deploy to test the Helm charts (this will bring up two clusters, install the broker on one of them and the operator on both, and end with a connectivity test). Fixes: #17 Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
committed by
Miguel Angel Ajo Pelayo
parent
c128fb42c5
commit
96ff45c2f8
+2
-2
@@ -18,7 +18,7 @@ install:
|
||||
- sudo pip install yamllint=="${YAMLLINT_VERSION}"
|
||||
|
||||
script:
|
||||
- for dir in submariner submariner-k8s-broker; do helm lint $dir $HELM_FLAGS; done
|
||||
- for dir in submariner submariner-k8s-broker submariner-operator; do helm lint $dir $HELM_FLAGS; done
|
||||
- yamllint -c .yamllint.yml -s $(find . -type f -name "Chart.yaml")
|
||||
- yamllint -c .yamllint.yml -s $(find . -type f -name "values.yaml")
|
||||
|
||||
@@ -26,7 +26,7 @@ after_success:
|
||||
- >
|
||||
if [ $TRAVIS_BRANCH = 'master' ] && [ $TRAVIS_PULL_REQUEST = 'false' ]; then
|
||||
set -e
|
||||
for dir in submariner submariner-k8s-broker; do
|
||||
for dir in submariner submariner-k8s-broker submariner-operator; do
|
||||
helm dep update $dir
|
||||
helm package $dir
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user