aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/conf
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/conf')
-rw-r--r--deploy/conf/cluster.conf6
-rw-r--r--deploy/conf/compass.conf5
2 files changed, 11 insertions, 0 deletions
diff --git a/deploy/conf/cluster.conf b/deploy/conf/cluster.conf
index e0c5655b..ddcbb6c3 100644
--- a/deploy/conf/cluster.conf
+++ b/deploy/conf/cluster.conf
@@ -23,5 +23,11 @@ fi
export ADAPTER_NAME="openstack_$OPENSTACK_VERSION"
export ADAPTER_FLAVOR_PATTERN="HA-ansible-multinodes-$OPENSTACK_VERSION"
+if [[ "x"$KUBERNETES_VERSION != "x" ]]; then
+ export ADAPTER_NAME=kubernetes
+ export ADAPTER_FLAVOR_PATTERN=ansible-kubernetes
+ export ADAPTER_TARGET_SYSTEM_PATTERN='^kubernetes$'
+fi
+
export DEFAULT_ROLES=""
export VIP="10.1.0.222"
diff --git a/deploy/conf/compass.conf b/deploy/conf/compass.conf
index c3ea85c0..ba9d8a7d 100644
--- a/deploy/conf/compass.conf
+++ b/deploy/conf/compass.conf
@@ -19,6 +19,11 @@ export COMPASS_REPO_PORT="5151"
export COMPASS_DECK="compass4nfv/compass-deck"
export COMPASS_TASKS="compass4nfv/compass-tasks-osa"
+
+if [[ "x"$KUBERNETES_VERSION != "x" ]]; then
+ export COMPASS_TASKS="compass4nfv/compass-tasks-k8s"
+fi
+
export COMPASS_COBBLER="compass4nfv/compass-cobbler"
export COMPASS_DB="compass4nfv/compass-db"
export COMPASS_MQ="compass4nfv/compass-mq"