Add calico MTU
Change-Id: I440d462c46899b1ca3b178039c3d9246b74054e1
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 3e251c4..2337f1e 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -44,8 +44,9 @@
* CALICO_CNI_IMAGE Docker repository and tag for calico CNI image
* CALICO_NODE_IMAGE Docker repository and tag for calico node image
* CALICOCTL_IMAGE Docker repository and tag for calicoctl image
+ * MTU MTU for Calico
* NETCHECKER_AGENT_IMAGE Docker repository and tag for netchecker agent image
- * NETCHECKER_SERVER_IMAGE Docker repository and tag for netchecker server image
+ * NETCHECKER_SERVER_IMAGE Docker repository and tag for netchecker server image
*
*/
@@ -183,6 +184,9 @@
if (env.getEnvironment().containsKey('KUBERNETES_HYPERKUBE_IMAGE')) {
salt.runSaltProcessStep(saltMaster, 'I@salt:master', 'reclass.cluster_meta_set', 'kubernetes_hyperkube_image', KUBERNETES_HYPERKUBE_IMAGE)
}
+ if (env.getEnvironment().containsKey('MTU')) {
+ salt.runSaltProcessStep(saltMaster, 'I@salt:master', 'reclass.cluster_meta_set', 'kubernetes_mtu', MTU}
+ }
// Overwrite Calico vars if specified
if (env.getEnvironment().containsKey('CALICO_CNI_IMAGE')) {
salt.runSaltProcessStep(saltMaster, 'I@salt:master', 'reclass.cluster_meta_set', 'kubernetes_calico_cni_image', CALICO_CNI_IMAGE)