mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 21:30:35 +00:00
Use YAML settings for shipyard
Makes it simple to view and change the deployment settings Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
This commit is contained in:
committed by
Stephen Kitt
parent
fc77796287
commit
8c2c55cc9b
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
cni: ovn
|
||||||
|
submariner: true
|
||||||
|
nodes: control-plane worker worker
|
||||||
|
clusters:
|
||||||
|
cluster1:
|
||||||
|
cluster2:
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
cni: weave
|
||||||
|
submariner: true
|
||||||
|
nodes: control-plane worker
|
||||||
|
clusters:
|
||||||
|
cluster1:
|
||||||
|
cluster2:
|
||||||
@@ -9,11 +9,10 @@ PRELOAD_IMAGES := submariner-gateway submariner-operator submariner-route-agent
|
|||||||
|
|
||||||
include $(SHIPYARD_DIR)/Makefile.inc
|
include $(SHIPYARD_DIR)/Makefile.inc
|
||||||
|
|
||||||
CLUSTER_SETTINGS_FLAG = --cluster_settings $(DAPPER_SOURCE)/cluster_settings
|
|
||||||
ifneq (,$(filter ovn,$(_using)))
|
ifneq (,$(filter ovn,$(_using)))
|
||||||
CLUSTER_SETTINGS_FLAG = --cluster_settings $(DAPPER_SOURCE)/cluster_settings.ovn
|
CLUSTER_SETTINGS_FLAG = --settings $(DAPPER_SOURCE)/.shipyard.e2e.ovn.yml
|
||||||
else
|
else
|
||||||
CLUSTER_SETTINGS_FLAG = --cluster_settings $(DAPPER_SOURCE)/cluster_settings
|
CLUSTER_SETTINGS_FLAG = --settings $(DAPPER_SOURCE)/.shipyard.e2e.yml
|
||||||
endif
|
endif
|
||||||
|
|
||||||
override CLUSTERS_ARGS += $(CLUSTER_SETTINGS_FLAG)
|
override CLUSTERS_ARGS += $(CLUSTER_SETTINGS_FLAG)
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
. "${SCRIPTS_DIR}"/lib/source_only
|
|
||||||
|
|
||||||
# We need a minimal setup to verify the deployment works
|
|
||||||
clusters=('cluster1' 'cluster2')
|
|
||||||
cluster_nodes['cluster1']="control-plane worker"
|
|
||||||
cluster_nodes['cluster2']="control-plane worker"
|
|
||||||
|
|
||||||
cluster_cni=( ['cluster1']="weave" ['cluster2']="weave" )
|
|
||||||
|
|
||||||
cluster_subm=( ['cluster1']="true" ['cluster2']="true" )
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
. "${SCRIPTS_DIR}"/lib/source_only
|
|
||||||
|
|
||||||
# We need a minimal setup to verify the deployment works
|
|
||||||
clusters=('cluster1' 'cluster2')
|
|
||||||
cluster_nodes['cluster1']="control-plane worker worker"
|
|
||||||
cluster_nodes['cluster2']="control-plane worker worker"
|
|
||||||
|
|
||||||
cluster_cni=( ['cluster1']="ovn" ['cluster2']="ovn" )
|
|
||||||
|
|
||||||
cluster_subm=( ['cluster1']="true" ['cluster2']="true" )
|
|
||||||
Reference in New Issue
Block a user