From 2a3b9d6fa69167e55dba641b46647cb5425ce3c9 Mon Sep 17 00:00:00 2001 From: Aidan Hilt Date: Thu, 16 Jan 2025 12:47:55 -0500 Subject: [PATCH] Bash syntax errors --- kube/services/argo-events/workflows/sensor-created.yaml | 4 ++-- .../karpenter-reconciler/karpenter-reconciler-cronjob.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kube/services/argo-events/workflows/sensor-created.yaml b/kube/services/argo-events/workflows/sensor-created.yaml index d98dc6a10..351432872 100644 --- a/kube/services/argo-events/workflows/sensor-created.yaml +++ b/kube/services/argo-events/workflows/sensor-created.yaml @@ -68,8 +68,8 @@ spec: ENVIRONMENT_TYPE_CODE="production" elif [ "$ENVIRONMENT" = "va-testing" ]; then ENVIRONMENT_TYPE_CODE="testing" - else; - ENVIRONMENT_TYPE_CODE="environment" + else + ENVIRONMENT_TYPE_CODE="$ENVIRONMENT" fi if [ -z "$NODEPOOL_TEMPLATE" ]; then diff --git a/kube/services/karpenter-reconciler/karpenter-reconciler-cronjob.yaml b/kube/services/karpenter-reconciler/karpenter-reconciler-cronjob.yaml index 89968f24d..4f5388e63 100644 --- a/kube/services/karpenter-reconciler/karpenter-reconciler-cronjob.yaml +++ b/kube/services/karpenter-reconciler/karpenter-reconciler-cronjob.yaml @@ -37,7 +37,7 @@ spec: ENVIRONMENT_TYPE_CODE="production" elif [ "$ENVIRONMENT" = "va-testing" ]; then ENVIRONMENT_TYPE_CODE="testing" - else; + else ENVIRONMENT_TYPE_CODE="environment" fi